Make sure you have Node.js
v16 and npm
v8 installed.
Install all dependencies from a terminal in the root of the project:
npm install
Create a new app here and add a bot to the application. Make sure to enable server members intent
. Using the OAuth2 > URL Generator, select bot
and application.commands
, set the bot permissions to the desired settings (Administrator in the case of Quasar), and follow the generated link to add your bot to a server.
Create a .env
file in the root of the project and fill it out following the structure of the .env.example
file. Your bot token can be found under the bot tab of the developer portal, and the client/application id from the general tab.
Script | Description |
---|---|
build | Compiles the TypeScript into JavaScript |
start | Starts the bot |
update-{type} | Updates the node package's {type} version |
This code is licensed under the MIT License.