This is a Discord bot is named Scribe.
/summary
- Gets a summary of the last __ messages in the channel./query
- Queries the current channel against a user input.
- Rename
.env.example
to.env
and fill in the necessary information. - Run
npm install
to install the necessary packages. - Run
node bot.js
to start the bot.
- Go to the Discord Developer Portal and create a new application.
- Go to the OAuth2 tab and copy the client ID to
.env
. - Go to the Bot tab and copy the token to
.env
.
- Go to the OAuth2 tab and select the bot scope.
- Select
application.commands
andbot
permissions. - In the bot permissions, select
SEND MESSAGES
,READ/VIEW CHANNELS
,USE SLASH COMMANDS
, andREAD MESSAGE HISTORY
. - Use the generated URL to add the bot to a server.
- Make sure the bot has proper role permissions in the server.