Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.
/ AbdiBot Public archive

Administration Discord bot for school server of BSZ III

License

Notifications You must be signed in to change notification settings

edwin-shdw/AbdiBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Development Environment

  1. Get the git repository

        git clone https://github.com/edwin-shdw/AbdiBot.git
  2. 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.

  3. Configure environment

    Copy and rename the config.public.json file to config.json (src/configs/*) and fill all needed values. This file contains sensitive information and should not be tracked by git.

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

  5. 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)

  6. Usefull links

About

Administration Discord bot for school server of BSZ III

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published