Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonathanschndr/discord-bot-roll-n-win

Roll & Win Discord Bot
https://github.com/jonathanschndr/discord-bot-roll-n-win

Last synced: 23 days ago
JSON representation

Roll & Win Discord Bot

Awesome Lists containing this project

README

        

## Discord Bot: Roll & Win

## Requirements
- Mac, Windows or Linux System
- Discord Server
- Node.js installed (https://nodejs.org/en/)
- (Optional: Node.js Server)

## Getting started
1. create a new app on https://discord.com/developers/applications
2. click on Bot and then on "Add Bot" and copy the Client Secret to yourself
3. activate the Switch for MESSAGE CONTENT INTENT on the bot page
4. click on 0Auth2 and select "bot" for OAuth2 URL Generator and "Administrator" for Permissions
5. now open the link between the checkboxes
6. you will be asked to add the bot to your Discord server
7. copy this folder
8. go back and copy the client secret from the bot page
9. create an .env with DISCORD_BOT_TOKEN=%YOUR_CLIENT_SECRET% from the page
10. execute `npm install`
11. start the bot with `npm run start`.

Important: If you run this locally on your computer, the bot will only work as long as your computer is running. Alternatively, you must run this bot on an external server.

## Links
- https://discord.js.org/#/docs/main/stable/general/welcome
- https://github.com/discordjs/discord.js
- https://discordjs.guide/#before-you-begin