3
Github GitHub - Safemoon-Protocol/Discord-Bot: SafeMoon's Discord Bot.
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)
- Clone the SafeMoon Discord-Bot repository.
- Run
npm install
- Run
npm i -g nodemon
(Optional) - Add your discord credentials in a
.env
file. (DISCORD_TOKEN=YOUR_TOKEN_GOES_HERE) - Run
npm run start
- Woo. Your bot is now running.
How to add the bot to your discord server
- Create your bot and go to the oauth page and grab your bot client id.
- Go to: https://discord.com/oauth2/authorize?client_id=YOUR_BOT_CLIENT_ID_HERE&scope=bot
- Authorize it and you're good to go.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK