- Set up a bot application
- Invite the bot to your server via an oauth2 invite link
- Find your Guild (server) ID
Create a file named .env
in the root directory and add the following values:
BOT_TOKEN=
CLIENT_ID=
GUILD_ID=
HACKTOBERFEST_TOKEN=
HACKTOBERFEST_TOKEN
is the JWT generated by the Hacktoberfest API when you log in. Currently you can only retrieve it by inspecting network requests in your browser, usually via theNetwork
tab in devtools.
Deployment
- run
npm install
- run
node deploy-commands.js
- run
node app.js
Bot Usage
/report [github|gitlab] [repository name]