Zachatoo / DnD-Helper-Discord-Bot

Discord Bot for scheduling events and D&D sessions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Discord Bot

Create Discord bots using a simple framework.

Create Bot

  1. Go to Discord's Developer Portal.
  2. Create a new application.
  3. Add a bot user to your app.
  4. Invite your bot to a server using https://discordapp.com/oauth2/authorize?client_id=DISCORD_BOT_CLIENT_ID&scope=bot.
  5. Click to Reveal Token to view your bot token.

Keep this token and any file containing it private! If your token ever leaks or you suspect it may have leaked, simply regenerate a new token to invalidate your old token.

Get Bot

  1. git clone https://github.com/peterthehan/create-discord-bot.git && cd create-discord-bot/ && npm install
  2. Rename example.config.json to config.json.
  3. Open the file and add your bot token:
{
  "TOKEN": "DISCORD_BOT_TOKEN"
}
  1. Open src/config.js to configure your own settings.

Run Bot

  1. npm start
  2. The bot should go from offline to online. Verify the bot is working by using the .ping command.

🎉 You're ready to create your own Discord bot! 🎉

Examples

The following bots have been made using this framework:

Visit for more help or information!

About

Discord Bot for scheduling events and D&D sessions.

License:MIT License


Languages

Language:JavaScript 100.0%