- A basic and simple global chat bot, completely open source, just for you!
- Basically, it checks for any messages sent in a specific channel, which should be named
global-chat
. Then, it loops through its guilds and checks if the guild has a channel namedglobal-chat
. If yes, then it sends the message there.
- You need to have the members intent enabled for your bot. Otherwise the code would not work. For more information about intents click here.
- Firstly, fill in config/config.json by putting your token in there. Then install all the dependencies using
npm install
.
- Run the command
node index.js
in your terminal and the bot should be up and running!
Having issues? Feel free to open an issue and I will look into it.