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.

VariableUse Case

{adv_bot}

Returns the Discord.js bot object. This does NOT include the bots authorization token. View more here.

{adv_botPing}

Returns the current ping of the bot in Ms

{adv_botStatus}

Returns the current status of the bot (Idle, dnd, online, etc)

{adv_botActivityType}

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

{adv_botActivity}

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

{adv_botUpdateTime}

Returns the current set interval for the bots activity rotation (if defined)

{adv_isInGuild[string,boolean]}

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