Skip to main content

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

CommandDescriptionUsage
listreactionsList all active event reactions[p]listreactions
clearreactionsClear all active event reactions[p]clearreactions
ignoreuserIgnore messages from a user[p]ignoreuser <toggle/list/clear> [@user]
ignoreserverIgnore messages from a server[p]ignoreserver <toggle/list/clear> [server id]
pingpingReply to pings by pinging the user[p]pingping <toggle/list/clear> [server/channel id]
pingkickReply to pings by kicking the user[p]pingkick <toggle/list/clear> [server/channel id]
pingbanReply to pings by banning the user[p]pingban <toggle/list/clear> [server/channel id]
pingmuteReply to pings by muting the user[p]pingmute <toggle/list/clear> [server/channel id]
pingtimeoutReply to pings by timing the user out[p]pingtimeout <toggle/list/clear> [server/channel id]
pinginsultReply to pings by insulting the user[p]pinginsult <toggle/list/clear> [server/channel id]
pingreactReply to pings by adding a reaction[p]pingreact <toggle/list/clear> [reaction] [server/channel id]
pingresponseReply to pings with a custom response[p]pingresponse <toggle/list/clear> ["response"] [server/channel id]
pingairesponseReply to pings with an AI response[p]pingairesponse <toggle/list/clear> ["system"] [server/channel id]
mirrorchannelMirror messages from one channel to another[p]mirrorchannel <toggle/list/clear> [source channel] [dest channel]
mirrorserverMirror messages from one server to another[p]mirrorserver <toggle/list/clear> [source server] [dest server]
responderReply to messages with a custom response[p]responder <toggle/list/clear> ["response"] [server/channel id]
airesponderReply to messages with an AI response[p]airesponder <toggle/list/clear> ["system"] [server/channel id]
copyCopy a user's messages[p]copy <toggle/list/clear> [@user] [server/channel id]
replycopyReplycopy a user's messages[p]replycopy <toggle/list/clear> [@user] [server/channel id]
mockMock a user's messages[p]mock <toggle/list/clear> <@user> [server/channel id]
pinspamPin all of a user's messages[p]pinspam <toggle/list/clear> [@user] [server/channel id]
unpinspamUnpin messages pinned by pinspam[p]unpinspam
reactspamReact to all of a user's messages[p]reactspam <toggle/list/clear> [@user] [reaction] [global/server/channel id]
deletemessagesDelete all of a user's messages[p]deletemessages <toggle/list/clear> [@user] [server/channel id]
keywordnotifierGet notified when someone mentions a keyword[p]keywordnotifier <toggle/list/clear> ["keyword"] [global/server/channel id]
removereactionsDelete all of a user's reactions[p]removereactions <toggle/list/clear> [@user] [server/channel id]
forcedisconnectDisconnect a user from voice channels[p]forcedisconnect <toggle/list/clear> [@user] [server/channel id]
forcenickForce change a user's nickname[p]forcenick <toggle/list/clear> [@user] [nickname] [server id]
forcekickForce kick a user[p]forcekick <toggle/list/clear> [@user] [server id]
noleavePrevent a user from leaving a group chat[p]noleave <toggle/list/clear> [@user] [channel id]
antigroupchatPrevent users from adding you to group chats[p]antigroupchat <on/off> [silent leave: on/off]
antideletemessagesPrevent users from deleting your messages[p]antideletemessages <toggle/list/clear> [channel]
afkresponderGet, set or toggle the AFK Responder[p]afkresponder <get/set/toggle> [on/off]
afkonpingGet, set or toggle if AFK message should be sent on ping[p]afkonping <get/set/toggle> [on/off]
afkondmGet, set or toggle if AFK message should be sent on DM[p]afkondm <get/set/toggle> [on/off]
afkdelayGet or set the delay before sending AFK message[p]afkdelay <get/set> [value]
afkrandomdelayGet, set or toggle if AFK delay is random[p]afkrandomdelay <get/set/toggle> [on/off]
afkinactiveGet, set or toggle if AFK messages are only sent when inactive[p]afkinactive <get/set/toggle> [on/off]
afkinactivetimeoutGet or set the timeout before being considered inactive[p]afkinactivetimeout <get/set> [value]
afktypingGet, set or toggle if the AFK Responder should show typing[p]afktyping <get/set/toggle> [on/off]
afkaiGet, set or toggle if the AFK Responder should use AI[p]afkai <get/set/toggle> [on/off]
afkmessageGet or set the AFK message (or instructions for AI if enabled)[p]afkmessage <get/set> [value]
afktriggertypeGet or set the AFK Triggerlist type[p]afktriggertype <get/set/values> [type]
afktriggerusersGet, add, remove or clear users that trigger AFK message[p]afktriggerusers <get/add/rm/clear> [user]
afktriggerserversGet, add, remove or clear servers that trigger AFK message[p]afktriggerservers <get/add/rm/clear> [server id]