Discord bot for custom responses
- discord.py (pip install discord)
- python 3 environment
- a discord bot token
- an internet connection
- Command for adding new response.
- Usage: addresponse
- Quotation marks are required if the given message contains more than one word or backslashes
- Server Admin only
- Aliases: acr, addcustreact
- Command for deleting an existing response.
- Usage: deleteresponse
- Quotation marks are required if the given message contains more than one word or backslashes
- index starts from 0 with the first message in the list of reactions to this trigger. Use -1 or leave blank to delete all reactions to this trigger
- Server Admin only
- Aliases: dcr, delcustreact
- Command for editing an existing response
- Usage: editresponse
- Quotation marks are required if the given message contains more than one word
- index starts from 0 with the first message in the list of reactions to this trigger.
- Server Admin only
- Aliases: ecr, editcustreact
- Command for listing all triggers
- Usage: listtriggers Aliases: lcr, lts
- Command for listing all responses for a given trigger
- Usage: listresponses
- Quotation marks are required if the given message contains spaces
- Aliases: lrs
- Command for reloading all messages from responses.json file
- Usage: reload
- Bot Owner (as specified in settings.json) only
- Build your own settings.json file and save in the same dir
- token: str - Your Discord Bot Token
- owner: int - The User ID of the Owner
- prefix: str - Prefix for the Commands above
- ignore_bot: boolean - If Bot messages should be ignored or not
- run the main.py file using python
randomly select a message from the respective list and replies with the message when the trigger word is sent in a channel the bot is in