-
Get the git repository
git clone https://github.com/edwin-shdw/AbdiBot.git
-
Install packages
npm install
Also, make sure that Node.js 16.9.0 or newer is installed on your machine as
discord.js
requires this. -
Configure environment
Copy and rename the
config.public.json
file toconfig.json
(src/configs/*
) and fill all needed values. This file contains sensitive information and should not be tracked by git. -
Run bot
Start the bot with the start script:
npm start
To make development easier and less painfull you can start the bot in dev mode:
npm run develop
This will start the bot with ts-node and nodemon which will restart the node application whenever file changes are detected. Thanks to ts-node running a new build on each file change is no longer required.
-
Deployment
Command registration to the Discord API can be done with the
deploy
script:npm run deploy
Keep in mind that you will need to run a build before. (At least for the
deploy-commands
script) -
Usefull links
This repository has been archived by the owner on May 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Administration Discord bot for school server of BSZ III
License
edwin-shdw/AbdiBot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Administration Discord bot for school server of BSZ III
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published