VC Sessions is a Discord Bot meant to create a new Voice Channel (VC) every single time a user joins the Session Creator Channel (SCC). This SCC should be named something like New Session
. When a user joins New Session
, a new VC will be generated and the user will be moved to the new VC. The new VC is called a Session and each Session will be automatically cleared when unused.
VC Sessions is built upon Nova Bot, my Discord bot framework. This bot has been shut down due to it's low user usage.
- Unique Session names
- Every time a new Session is created, if a VC with the name of
➤ 1
doesn't exist, VC Sessions will create a new Session with➤ 1
as it's name - If a voice channel with the name of
➤ 1
exists,➤ 2
will be created
- Every time a new Session is created, if a VC with the name of
- Prevent spam creation of VCs
- Whenever a user joins the SCC, VC Sessions will check if there are any empty Sessions in the server that are waiting to be destroyed. If there are, VC Sessions will not create a new VC but instead move the user into the existing Session.
- Discord Commands (Interactions)
- Admin
/set session-creator-channel
- Designates an existing voice channel to be the SCC./set timeout
- Sets the timeout for how long VC Sessions will wait before destroying a Session after all users leave
- Admin
Copy the config.example.json
file to config.json
then fill in the json file with the correct project credentials.
With yarn
$ yarn
$ yarn dev
With npm
$ npm i
$ npm run dev