This project is a Discord bot created to perform various functions. It was developed using the discord.js library.
To get started with the project, follow these steps:
- Clone this repository.
- Create a file named
.env
in the project's root directory using the provided example.env as a template. - Run the command
npm install
to install the necessary dependencies. - Initialize global commands with
npm run commands-global
. - Start the development bot with
npm run dev
.
Once the commands are registered, they are ready for use in Discord and can be accessed using the /
prefix. The currently available commands are:
-
/ping: A simple command to test the bot's responsiveness.
-
/backup-kelbi: This command allows you to obtain a partial or complete backup of the Kelbi database and send it by email and/or save it locally. To use this command, you must have the database installed and log in with an account that has the "dev" flag set to true.
-
/afflicted: Returns information in an "embed" format, retrieved from the afflictedItems.json file.