Skip to content

A purpose-built Discord bot that tracks Scheduled Event registrations (in order!)

License

Notifications You must be signed in to change notification settings

MicaLovesKPOP/WinterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinterBot Download

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.

Table of Contents

Features

  • 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)

Event Message Screenshot

Local Hosting

Installation

  1. Install Node.js on your system.
  2. Clone this repository or download the latest release and extract it.
  3. Open a terminal or command prompt in the project directory and run npm install to install the required dependencies.

Configuration

  1. 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.

  1. Open WinterBot.js and update the values of guildId, channelId, and logChannelId to match your Discord server's IDs.

Usage

  1. Open a terminal or command prompt in the project directory and run node WinterBot.js to start the bot.
  2. The bot will log in to Discord and start running.

Cloud Hosting

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.

Configuration

  1. Sign up for an account on discordbothosting.com.
  2. Log in to your account and go to the Files tab.
  3. Download the latest WinterBot release and extract it.
  4. Upload the bot's files to your account.
  5. Go to the Startup tab and under BOT JS FILE, replace index.js with WinterBot.js.

Usage

  1. Go to the CONSOLE tab and click START to start the bot.
  2. The bot will log in to Discord and start running.

Miscellaneous

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.

Cute Cat

Acknowledgements

This project uses code and text generated with the help of Bing Chat and ChatGPT.

License

This project is licensed under the GNU GPLv3 License. See the LICENSE file for details.