3

Github GitHub - Safemoon-Protocol/Discord-Bot: SafeMoon's Discord Bot.

 3 years ago
source link: https://github.com/Safemoon-Protocol/Discord-Bot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Requirements

Installation Steps (if applicable)

  1. Clone the SafeMoon Discord-Bot repository.
  2. Run npm install
  3. Run npm i -g nodemon (Optional)
  4. Add your discord credentials in a .env file. (DISCORD_TOKEN=YOUR_TOKEN_GOES_HERE)
  5. Run npm run start
  6. Woo. Your bot is now running.

How to add the bot to your discord server

  1. Create your bot and go to the oauth page and grab your bot client id.
  2. Go to: https://discord.com/oauth2/authorize?client_id=YOUR_BOT_CLIENT_ID_HERE&scope=bot
  3. Authorize it and you're good to go.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK