A template for a Discord application, this repository differs from something like Sapphire in that it is not a framework, but a template. Everything needed to get a bot up and running is included, of course with the ability to modify any of it as you wish.
This template includes various functionality to help make development easier and more friendly.
To install and run this template, you must first clone the repository by using the following command.
git clone https://github.com/norviah/bot.git
You then must install dependencies by using your respective package manager. After dependencies are installed, you must then configure the project.
- Copy the contents of config.json.scheme into a new file
called
config.json
, filling the values with the appropriate information. - Copy the contents of .env.scheme into
.env
and also fill in the required values. - Initialize prisma by running
npm run build:prisma
. - Deploy commands by running
npm run cli:deploy
.
After these steps, you should be able to run the bot by using npm run start
.
By default, only basic commands are included in the template, but you can add
more by creating more commands in the commands directory.
To improve the bot or to add more functionality, please read the documentation, it includes information on every structure within the project.