Skip to content

cheryllium/diceroll

Repository files navigation

DiceMancer Setup

Create application on Discord

  1. Ensure you have Developer Mode enabled in your Discord settings (under Advanced)
  2. Go to: https://discord.com/developers/applications
  3. Create a new application using the "New Application" button

Add bot to a testing server

  1. On the left sidebar, click OAuth2 -> URL Generator
  2. Under Scopes, select applications.commands and bot scopes
  3. Under Bot Permissions, select Send Messages (in the middle column)
  4. Copy the generated URL and use it to add your bot to the desired testing server

Configure the application

  1. On the left sidebar, click Bot to go to the bot's settings and click Reset Token. Copy the generated token; you will only see it once!
  2. Copy the .env.example file into a file named .env and paste your token after DISCORD_TOKEN= in the new .env file
  3. In Discord, right-click the icon for your desired testing server and select Copy Server ID
  4. Copy allowed_servers.example.json into a file named allowed_servers.json, and edit it to have your server ID instead of the example server ID

After this, you should be able to run the application and use it from your Discord server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages