2023-08-20 19:40:54 -04:00
|
|
|
# WTTR BOT
|
2022-07-22 18:09:13 -04:00
|
|
|
|
2022-07-23 08:21:10 -04:00
|
|
|
Only 3 dependencies required to run this bot!
|
|
|
|
|
|
|
|
Message intents are NOT supported in this bot, this is due to the verification that Discord is enabling.
|
|
|
|
|
2022-07-22 18:09:13 -04:00
|
|
|
Structure:
|
|
|
|
|
|
|
|
**commands** - This folder contains commands
|
|
|
|
|
|
|
|
**event** - This folder contains files related to discord.js events. (Like "ready", "interactionCreate")
|
|
|
|
|
2022-07-22 18:12:47 -04:00
|
|
|
**handler** - This folder contains files that read the commands folders contents.
|
2022-07-22 18:09:13 -04:00
|
|
|
|
|
|
|
**index.js** - This is the main file to run the bot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1) Use ```npm i ```
|
|
|
|
|
|
|
|
2) Create a .env file ``` touch .env```
|
|
|
|
|
|
|
|
3) Edit .env
|
|
|
|
```
|
|
|
|
TOKEN = token
|
|
|
|
```
|
|
|
|
|
2023-08-20 19:48:30 -04:00
|
|
|
4) Run the bot ```node index.js```
|
2022-07-22 18:09:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
Want to make this better? Issue a pull request!
|