- Go to the Discord Developer Portal and create a new application.
- Under the
Bot
tab, of the application, enable all thePrivileged Gateway Intents
. - Under OAuth2 go the URL Generator and select the
applications.commands
andbot
scopes. For bot permissions, selectAdministrator
. - Copy the generated URL and paste it into your browser. Select the server you want to add the bot to and click
Authorize
.
- Create a new server and add the bot to it (see above).
- Go to the
Server Settings
and underRoles
create a new role calledAdmin
and give it theAdministrator
permission. - Assign the
Admin
role to the bot. - Also under
Roles
create three new roles calledOrga
,Tutor
, andVerified
, they don't need any permissions. - Call the command
/admin updatebotroles
to generate the roles in the database. - Create a new category, call it for example
Tutoring
and make it private but allow theTutor
role to see it. - Create one voice channel in the category, for example
tutoring-waiting
and allow theVerified
role to see it. TheTutor
role should be able to see it already because it is in the same category. - Call the command
/config queue create
and pass it the name for the queue and a description, for exampletutoring
andthe queue used to wait for tutoring
. This will create a new queue in the database. - Call the command
/config queue set_waiting_room
and pass it the name of the waiting channel, for exampletutoring-waiting
and the name of the queue, for exampletutoring
as well as the supervisor role, for exampleTutor
. This will set the waiting channel for the queue and the supervisor role. - Optionally rename the
coach
commands on the server totutor
by calling the command/config commands rename
and passing it the old and new name of the command.
- Create a second discord account and join the test server.
- Assign the
Verified
role to the test account. - Assign the
Tutor
role to the primary account. - You now have a working test setup. The test account acts as a student and the primary account acts as a tutor.