Skip to content

Variables

INFO

Some message templates have their own unique variables related to the feature they represent. Those variables are described in corresponding articles, such as:

Common Variables

Message Templates have some common predefined variables:

VariableTypeDescription
guildGuildServer information
botMemberMember instance of JuniperBot itself
memberMemberMember instance related to this template
channelTextChannelTarget channel where this template should be sent (if only guild message, not DMs)
sourceChannelTextChannelSource channel like the channel where the custom command were invoked. It is different from channel that the last one may be different target channel selected in the message template interface.
messageMessageMessage instance related to this template. For example, custom command invocation message or violation message in Auto-Moderation.
overrideEmbedEmbed overrides (allows to set template embed values by code)

Those variables are always included in every message template. Sections below will describe some additional variables for a different message templates.

Custom Commands

Additional variables passed to custom commands Actions.

VariableTypeDescription
argumentsArgumentsInformation about arguments passed to the command.
parametersParametersInformation about parameters passed to the action.
componentComponentInformation about component executed the action.
modalModalInformation about modal executed the action.

All rights sniffed.