BotWiz Documentation
DashboardSupport ServerResources
BotWiz Documentation
BotWiz Documentation
  • Welcome to BotWiz!
  • Support Server
  • Dashboard
    • Get Started
    • Settings
    • BotWiz Guides
  • Creations
    • Commands
      • Builder
    • Events
      • List of Discord Events
    • Variables
      • Interaction & Default Variables
      • Custom Variables
        • Bot Variables
      • Unique Variables
      • Function Variables
      • Advanced Variables
      • Event Variables
  • Misc
    • Debugging
    • Exports
  • Blocks
    • Actions
      • Message Actions
        • Modal / Form
        • Send & Edit a Message
        • Delete & Pin a Message
        • Start & End Poll
      • Role Actions
        • Removing & Adding a Role to Everyone
        • Edit a Role
      • Channel Actions
        • Create Channel
        • Edit Channel
        • Delete Channel
        • Purge Messages
      • Member Actions
        • Ban Member
        • Kick Member
        • Member Nickname
        • Timeout Member
        • Unban Member
      • Variable Actions
        • Calculate Variable
        • Delete Variable
        • Set Variable
      • Action Blocks
        • API
        • Create & Delete an Auto Mod Rule
        • Timed & Custom Event
    • Conditions
    • Options
Powered by GitBook
On this page

Was this helpful?

  1. Creations
  2. Variables

Advanced Variables

View a list of all current advanced variables

PreviousFunction VariablesNextEvent Variables

Last updated 10 months ago

Was this helpful?

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.

Variable
Use Case

{adv_bot}

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

{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.

here