Advanced Variables

View a list of all current advanced variables

Advanced variables are a set of variables that typically is only used for set use-cases. These are considered advanced as most users may not find a use for them. Below you can find a list of all current advanced variables BotWiz has to offer.

square-xmark
Variable
Equivalent After Deprecation
Use Case

{adv_bot}

{bot}

Returns the Discord.js bot object. This does NOT include the bot's authorization token. View more herearrow-up-right.

{adv_botPing}

{botPing}

Returns the current ping of the bot in milliseconds

{adv_botStatus}

{botStatus}

Returns the current status of the bot (Idle, do not disturb, online, etc)

{adv_botActivityType}

{botActivityType}

Returns the current activity type for the bot (Streaming, Playing, etc)

{adv_botActivity}

{botActivity}

Returns the current activity for the bot (the custom status)

{adv_botUpdateTime}

x No equivalent at this time

Returns the current set interval for the bot's activity rotation (if defined)

{adv_isInGuild[string,boolean]}

x No equivalent at this time

Returns a true/false boolean indicating if the user is in the same guild as the bot. Setting the final argument to true will make this variable search all the guilds the bot is in; otherwise, it will just search the guild where the interaction was created.

The first argument takes a user ID. The second argument takes a boolean.

Last updated