Event Variables

View a list of all current event variables

Event variable are specific to just events. These will not be usable in commands nor will they display in the variable list for a command. Below you can find a complete and up-to-date list of variables that are usable in events.

All variables are exact returns from Discord.js, meaning you are able to access all properties of the variable object while using it. You can find a list of all properties returned by each variable here.

Channel

VariableDescription

{created_channel}

Channel Created

{deleted_channel}

Channel Deleted

{updated_old_channel} & {updated_new_channel}

Channel Updated

Guild

VariableDescription

{auditLog_entry}

Guild Audit Log Entry Create

{guild_available}

Guild Available

{guild_create}

Guild Create

{guild_delete}

Guild Delete

{guild_integration_update}

Guild Integration Update

{ban_add}

Guild Ban Add

{ban_remove}

Guild Ban Remove

{added_member}

Guild Member Add/Join

{removed_member}

Guild Member Remove/Leave

{updated_old_member} &

{updated_new_member}

Guild Member Updated

{scheduled_event_create}

Guild Scheduled Event Create

{scheduled_event_delete}

Guild Scheduled Event Delete

{scheduled_event_update}

Guild Scheduled Event Update

{scheduled_event_user_add}

Guild Scheduled Event User Add

{scheduled_event_user_remove}

Guild Scheduled Event User Remove

{guild_unavailable}

Guild Unavailable

{guild_new} & {guild_old}

Guild Update

Invite

VariableDescription

{invite_create}

Invite Create

{invite_delete}

Invite Delete

Message

VariableDescription

{created_message}

Message Create

{deleted_message}

Message Delete

{message_bulk_delete}

Message Bulk Delete

{message_reaction_add}

Message Reaction Add

{message_reaction_remove}

Message Reaction Remove

{message_reaction_remove_all}

Message Reaction Remove All

{message_reaction_remove_emoji}

Message Reaction Remove Emoji

{updated_new_message} & {updated_old_message}

Message Update

Role

VariableDescription

{created_role}

Role Create

{deleted_role}

Role Delete

{update_old_role} & {updated_new_role}

Role Update

Stage Instance

VariableDescription

{stage_instance_create}

Stage Instance Create

{stage_instance_delete}

Stage Instance Delete

{stage_instance_update_old}

Stage Instance Update

Sticker

VariableDescription

{create_sticker}

Sticker Create

{deleted_sticker}

Sticker Delete

{old_sticker} & {new_sticker}

Sticker Update

Thread

VariableDescription

{created_thread}

Thread Create

{old_thread} & {new_thread}

Thread Update

{deleted_thread}

Thread Delete

{new_member_update_thread} & {old_member_update_thread}

Thread Member Update

{members_update_thread}

Thread Members Update

Typing

VariableDescription

{typing}

Typing Starts

User

VariableDescription

{updated_new_user} & {updated_old_user}

User Update

Voice State

VariableDescription

{updated_old_state}

Voice State Update

Webhook

VariableDescription

{webhook}

Webhooks Update

Last updated