Event Reaction Commands
Event Reaction commands are commands that can do something when a specific event happens. For example, you can make the bot time out a user when they mention you.
You will also find the AFK mode in this category. For more information about the AFK mode, see the AFK Mode page.
Event reactions
Event reactions are stored in the configuration file, so they will persist after restarting the bot. You can create, view and delete event reactions using the commands below.
You can use multiple event reactions of the same type if they have different arguments. For example, you can create 2 keyword notifiers: One for the word "lightningbot" and one for the word "discord".
Usage
The examples below use the keywordnotifier
event reaction, but you can use any event reaction instead.
- To toggle an event reaction, use the command as follows:
[p]keywordnotifier toggle "lightningbot" #general-chat
- To list all event reactions, use the command as follows:
[p]keywordnotifier list
- To clear all event reactions, use the command as follows:
[p]keywordnotifier clear
Command List
Command | Description | Usage |
---|---|---|
listreactions | List all active event reactions | [p]listreactions |
clearreactions | Clear all active event reactions | [p]clearreactions |
ignoreuser | Ignore messages from a user | [p]ignoreuser <toggle/list/clear> [@user] |
ignoreserver | Ignore messages from a server | [p]ignoreserver <toggle/list/clear> [server id] |
pingping | Reply to pings by pinging the user | [p]pingping <toggle/list/clear> [server/channel id] |
pingkick | Reply to pings by kicking the user | [p]pingkick <toggle/list/clear> [server/channel id] |
pingban | Reply to pings by banning the user | [p]pingban <toggle/list/clear> [server/channel id] |
pingmute | Reply to pings by muting the user | [p]pingmute <toggle/list/clear> [server/channel id] |
pingtimeout | Reply to pings by timing the user out | [p]pingtimeout <toggle/list/clear> [server/channel id] |
pinginsult | Reply to pings by insulting the user | [p]pinginsult <toggle/list/clear> [server/channel id] |
pingreact | Reply to pings by adding a reaction | [p]pingreact <toggle/list/clear> [reaction] [server/channel id] |
pingresponse | Reply to pings with a custom response | [p]pingresponse <toggle/list/clear> ["response"] [server/channel id] |
pingairesponse | Reply to pings with an AI response | [p]pingairesponse <toggle/list/clear> ["system"] [server/channel id] |
mirrorchannel | Mirror messages from one channel to another | [p]mirrorchannel <toggle/list/clear> [source channel] [dest channel] |
mirrorserver | Mirror messages from one server to another | [p]mirrorserver <toggle/list/clear> [source server] [dest server] |
responder | Reply to messages with a custom response | [p]responder <toggle/list/clear> ["response"] [server/channel id] |
airesponder | Reply to messages with an AI response | [p]airesponder <toggle/list/clear> ["system"] [server/channel id] |
copy | Copy a user's messages | [p]copy <toggle/list/clear> [@user] [server/channel id] |
replycopy | Replycopy a user's messages | [p]replycopy <toggle/list/clear> [@user] [server/channel id] |
mock | Mock a user's messages | [p]mock <toggle/list/clear> <@user> [server/channel id] |
pinspam | Pin all of a user's messages | [p]pinspam <toggle/list/clear> [@user] [server/channel id] |
unpinspam | Unpin messages pinned by pinspam | [p]unpinspam |
reactspam | React to all of a user's messages | [p]reactspam <toggle/list/clear> [@user] [reaction] [global/server/channel id] |
deletemessages | Delete all of a user's messages | [p]deletemessages <toggle/list/clear> [@user] [server/channel id] |
keywordnotifier | Get notified when someone mentions a keyword | [p]keywordnotifier <toggle/list/clear> ["keyword"] [global/server/channel id] |
removereactions | Delete all of a user's reactions | [p]removereactions <toggle/list/clear> [@user] [server/channel id] |
forcedisconnect | Disconnect a user from voice channels | [p]forcedisconnect <toggle/list/clear> [@user] [server/channel id] |
forcenick | Force change a user's nickname | [p]forcenick <toggle/list/clear> [@user] [nickname] [server id] |
forcekick | Force kick a user | [p]forcekick <toggle/list/clear> [@user] [server id] |
noleave | Prevent a user from leaving a group chat | [p]noleave <toggle/list/clear> [@user] [channel id] |
antigroupchat | Prevent users from adding you to group chats | [p]antigroupchat <on/off> [silent leave: on/off] |
antideletemessages | Prevent users from deleting your messages | [p]antideletemessages <toggle/list/clear> [channel] |
afkresponder | Get, set or toggle the AFK Responder | [p]afkresponder <get/set/toggle> [on/off] |
afkonping | Get, set or toggle if AFK message should be sent on ping | [p]afkonping <get/set/toggle> [on/off] |
afkondm | Get, set or toggle if AFK message should be sent on DM | [p]afkondm <get/set/toggle> [on/off] |
afkdelay | Get or set the delay before sending AFK message | [p]afkdelay <get/set> [value] |
afkrandomdelay | Get, set or toggle if AFK delay is random | [p]afkrandomdelay <get/set/toggle> [on/off] |
afkinactive | Get, set or toggle if AFK messages are only sent when inactive | [p]afkinactive <get/set/toggle> [on/off] |
afkinactivetimeout | Get or set the timeout before being considered inactive | [p]afkinactivetimeout <get/set> [value] |
afktyping | Get, set or toggle if the AFK Responder should show typing | [p]afktyping <get/set/toggle> [on/off] |
afkai | Get, set or toggle if the AFK Responder should use AI | [p]afkai <get/set/toggle> [on/off] |
afkmessage | Get or set the AFK message (or instructions for AI if enabled) | [p]afkmessage <get/set> [value] |
afktriggertype | Get or set the AFK Triggerlist type | [p]afktriggertype <get/set/values> [type] |
afktriggerusers | Get, add, remove or clear users that trigger AFK message | [p]afktriggerusers <get/add/rm/clear> [user] |
afktriggerservers | Get, add, remove or clear servers that trigger AFK message | [p]afktriggerservers <get/add/rm/clear> [server id] |