• Stars
    star
    189
  • Rank 204,649 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Discord bot that automatically creates voice channels as they are needed.

Auto-Voice-Channels

A Discord bot that automatically creates voice channels as they are needed.

Requires:

Optional Extras:

  • uvloop (pip install uvloop) - UNIX ONLY

Quick start:

On Linux (Ubuntu/Debian):

  • Clone the repository: git clone https://github.com/gregzaal/Auto-Voice-Channels.git
  • Go to the directory: cd Auto-Voice-Channels
  • Install pip: sudo apt-get -y install python3-pip
  • Install venv: pip3 install virtualenv
  • Make venv: python3 -m virtualenv bot-env
  • Use venv: . bot-env/bin/activate
  • Install requirements: python3 -m pip install -r requirements.txt
  • Create your application + bot here: https://discordapp.com/developers/applications
  • Enable both Presence and Server Members Privileged Gateway Intents in the Bot section.
  • Create a config.json file in the Auto-Voice-Channels folder and fill it in:
    • admin_id is your personal user ID, for the bot to DM you errors and other important logs.
    • client_id is the bot application client ID.
    • log_timezone is for the time displayed in logs, see this list.
    • token is your bot's private token you can find here - do not share it with anyone else.
    • There are a number of optional settings too, which aren't necessary to set but provide some further configuration options if needed.
    • Your config.json file should look something like this:
{
    "admin_id":123456789012345678,
    "client_id":987654321098765432,
    "log_timezone":"Africa/Johannesburg",
    "token":"XXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
  • Invite the bot to your own server, replacing <YOUR BOT ID> with... your bot ID: https://discordapp.com/api/oauth2/authorize?client_id=<YOUR BOT ID>&permissions=286280784&scope=bot
  • Start your bot: python3 auto-voice-channels.py

On Windows:

While this bot will work just fine on windows for development, the most likely reason you've scrolled here is because you want to run your bot on your home computer.

This is not recommended for two main reasons:

  1. Your internet connection is probably less stable than you think, which means high & inconsistent latency with frequent disconnects of your bot.
  2. Your bot would only be online while your computer is on, meaning no one could use it while you sleep - and if you're thinking about running your home computer 24/7, consider that you'll be spending a lot more on electricity than a simple hosted VPS or Raspberry Pi would cost you.

Our recommended solution for "free" hosting is to use the free credit provided by many of the cloud platforms (e.g. Google Cloud). Once the credit expires after a few months, if you're still using your bot regularly you probably won't mind paying $3-5 per month for a tiny VPS.

If you absolutely want to run this bot on windows (e.g. for development testing), simply follow the instructions for Linux above, and anywhere you need to use apt-get, just search up how to install that software on windows instead :)

With Docker:

If you want to use Docker, here's an image: https://github.com/vinanrra/Auto-Voice-Channels-Docker

Help:

For all issues and questions you have, first ask in our Support Server. 99% of questions have been asked before and already have a solution available. Read the FAQ, #status channel, and pinned messages.

If you're self-hosting and have an actual code bug to report, also first check in the Support Server for a solution and see if anyone else has the same problem. If someone can confirm your bug in their own self-hosted bot, then you may open an issue.

More Repositories

1

Gaffer

A light-manager add-on for Blender
Python
382
star
2

Matalogue

List of node trees to switch between quickly
Python
148
star
3

filmic-blender-add-on

A simple add-on that can download and install Filmic Blender
Python
51
star
4

HDR-Merge

A script that uses Blender's compositor to reliably merge exposure brackets to a 32-bit EXR file.
Tcl
48
star
5

node_wrangler

Wrangle those noodles!
Python
29
star
6

HDRI-Haven

Website code for hdrihaven.com
PHP
16
star
7

Texture-Haven

Website code for texturehaven.com
PHP
14
star
8

manage-file-paths

Python
11
star
9

3D-Model-Haven

Website code for 3dmodelhaven.com
PHP
9
star
10

Useless-Tools

Just a little collection of scripts and tools I use daily
Python
9
star
11

batch-renamer

An add-on for Blender that helps you rename multiple objects at once.
Python
5
star
12

In-Game-Roles

A discord bot that assigns roles for the game members are currently playing, so that they are grouped up in the member list.
Python
5
star
13

librarian

View what datablocks are coming from which linked libraries
Python
4
star
14

Game-Channels

A discord bot that makes text channels for each game that your users play
Python
3
star
15

Auto-Render-Tile-Size

Never worry about unecessarily slow render times or having to change tile sizes every time you switch between CPU and GPU rendering again.
Python
3
star
16

Haven-Core

Core components of all Haven sites
PHP
2
star
17

Progressive-Animation-Renderer

A standalone app for rendering Blender Cycles scenes progressively (increasing in quality over time)
1
star
18

avc-wiki

https://wiki.dotsbots.com
HTML
1
star