This is a Discord bot built with Node.js and the Discord.js library. The bot is designed to track the order of user registrations for scheduled events on a Discord server. It fetches scheduled events from the server, posts an event message for each event, and then keeps each message up to date with newly registered and unregistered users.
- Posts scheduled event information to specified channel
- Keeps track of registered users in order of registration
- Lists previously registed users
- Logs errors to a specified log channel
- Saves and loads event data to/from .json file
- Posts weekly error reports to a specified channel (added in v1.0c)
- Install Node.js on your system.
- Clone this repository or download the latest release and extract it.
- Open a terminal or command prompt in the project directory and run
npm install
to install the required dependencies.
- Create a
.env
file in the project directory with the following content:
BOT_TOKEN=YOUR_BOT_TOKEN_HERE
Replace YOUR_BOT_TOKEN_HERE
with your bot's token.
- Open
WinterBot.js
and update the values ofguildId
,channelId
, andlogChannelId
to match your Discord server's IDs.
- Open a terminal or command prompt in the project directory and run
node WinterBot.js
to start the bot. - The bot will log in to Discord and start running.
If you are looking for a hosting solution for this bot, I can recommend using discordbothosting.com.
Their €0,60/m tier is a perfect fit for this bot.
- Sign up for an account on discordbothosting.com.
- Log in to your account and go to the
Files
tab. - Download the latest WinterBot release and extract it.
- Upload the bot's files to your account.
- Go to the
Startup
tab and underBOT JS FILE
, replaceindex.js
withWinterBot.js
.
- Go to the
CONSOLE
tab and clickSTART
to start the bot. - The bot will log in to Discord and start running.
WinterBot is named after my cat, Winter.
If you'd like to use the same picture of her as the bot's avatar, you can find it below.
This project uses code and text generated with the help of Bing Chat and ChatGPT.
This project is licensed under the GNU GPLv3 License. See the LICENSE file for details.