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

Variable
Description

{created_channel}

Channel Created

{deleted_channel}

Channel Deleted

{updated_old_channel} & {updated_new_channel}

Channel Updated

Guild

Variable
Description

{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

Variable
Description

{invite_create}

Invite Create

{invite_delete}

Invite Delete

Message

Variable
Description

{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

Variable
Description

{created_role}

Role Create

{deleted_role}

Role Delete

{update_old_role} & {updated_new_role}

Role Update

Stage Instance

Variable
Description

{stage_instance_create}

Stage Instance Create

{stage_instance_delete}

Stage Instance Delete

{stage_instance_update_old}

Stage Instance Update

Sticker

Variable
Description

{create_sticker}

Sticker Create

{deleted_sticker}

Sticker Delete

{old_sticker} & {new_sticker}

Sticker Update

Thread

Variable
Description

{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

Variable
Description

{typing}

Typing Starts

User

Variable
Description

{updated_new_user} & {updated_old_user}

User Update

Voice State

Variable
Description

{updated_old_state}

Voice State Update

Webhook

Variable
Description

{webhook}

Webhooks Update

Last updated