A Friend of mine wanted to add a Bot to his DiscordServer for creating DnD-Events
This is a simple Discord-bot to create events and get notifications from the Bot if the event is in a specified time range, can be changed in the .env file. You can delete events and with a set role you can also use commands for the pm2 to restart the bot from afar or to stop it.
A new feature is the embed Reply. you can choose whenever you want a basic text-reply or a embed reply.
Most Messages can be changed in the .env file. More incoming.
The bot includes a Sqlite3 filebased Database to store Events. The Events will be deleted automatical after they expired.
Getting Started
Prerequisites
Added a Discordbot via the discord page to your server so that u have a discord-bot-Token, BOT ID and "Guild" ID .. aka Server ID
node v18.x
Installation
-
Clone the repo
git clone https://github.com/DeusExMachIchNich/discord-bot.git
-
Install NPM packages
npm install
-
copy .env-example and name it .env & edit it after !IMPORTANT!
as instructed in the .env
-
Run
npm run start
Usage
Add your first Event with /add . Support format 00.00.0000 00:00 & 00/00/0000 00:00
In the Future
update exsisting events
Got any more input? reach out to us or create a issue / request