<aside> <img src="/icons/info-alternate_blue.svg" alt="/icons/info-alternate_blue.svg" width="40px" />

Make sure your Discord server is set up before attempting to integrate Aftergame.

</aside>


Setting up your Aftergame Bot

1. Connect your Discord account to Aftergame

In Aftergame, go to your Settings > Account > Connect (beside the Discord option). If you’re already signed in, click Authorise when the Discord window pops up. Otherwise, sign into Discord to link your accounts together.

2. Install the Aftergame Bot

  1. Click the Aftergame Discord Bot link: https://discordbot.aftergame.app
  2. Choose the server you want to add the bot to from the list and press Continue.
  3. To ensure the bot has the permissions it needs to action commands, it will need administrator permissions. To do this, a prompt will appear asking for this permission, make sure the box is ticked to to give Aftergame administrator permissions on your server and then press Authorise.
  4. Success! - You should see a big green check mark. From there you can Go to your server to complete the final part of the setup!

3. Configure your Aftergame Bot with /config-bot

To start planning games on Discord, configuring your bot using the command /config-bot (Discord admin only) ****which will let you enter the Aftergame group you’d like to link this server to, set your timezone, and assign the bot to a specific channel, if you wish.

Group

If your account is linked, you’ll see a list of the groups for which you are an admin. Choose the one you’d like the activity from this server to be linked with.

Timezone

Type in your continent or your city (or the nearest big city) to find your timezone.

Place

This is not currently set in Discord, it will use the default location set in the Aftergame Group.

Channel

(If you don’t see this option, fill in the others first and it should appear in the options menu above the command line, or click +1 more.)

Choose which channel in your server this timezone and group connection apply to. You can also skip this step and have your whole server set to the same timezone and group. This allows you to set configuration multiple times on your server to assign different settings for each channel.

Press enter to save the configurations. You should see a message letting you know you were successful.

image.png

Using your Aftergame Bot

Now that you’ve got everything set up, you can use your bot to plan games for your group, add games to events, claim seats, advertise upcoming events, and more!

<aside> <img src="/icons/info-alternate_blue.svg" alt="/icons/info-alternate_blue.svg" width="40px" />

If you’re not familiar with Discord commands, putting a slash in the text box will bring up the list of available commands in that channel. You can type the info in the tiny box that pops up or choose from the list if there is one. Add more fields from the list of options (if you don’t see the list, clicking on the +3 more will bring it back up for you. Only press enter when you’ve entered all the info that you want to.

</aside>

Users can use the commands below to to get started.

/onboarding-prompt (Discord admin only)

image.png

This will add a message to the channel to explain what the bot is for and help guide your members in connecting their Aftergame profiles to their Discord accounts.