Skip to main content

Managebot functions

  • {serverInfo}: Returns the resources object of the given client API server

    • Arguments:
      • id
      • path
      • handleUnknown = "error"
    • Only usable in: managebot
  • {serverResources}: Returns the resources object of the given client API server

    • Arguments:
      • id
      • path
      • handleUnknown = "error"
    • Only usable in: managebot
  • {node}: Displays general information about a node like name or domain

    • Arguments:
      • id
      • property
    • Only usable in: managebot
  • {nodeConfig}: Displays node configuration options. ⚠️ May contain sensitive data! ⚠️

    • Arguments:
      • id
      • property
    • Only usable in: managebot
  • {nodeStatus}: Returns the online or offline message, depending on whether the bot can reach the node via it's FQDN using IPv4 or not

    • Arguments:
      • id
      • online = "🟢"
      • offline = "🔴"
    • Only usable in: managebot
  • {nodeAmount}: Returns the amount of nodes on the panel

    • Only usable in: managebot
  • {serverAmount}: Returns the amount of servers on the panel

    • Only usable in: managebot
  • {userAmount}: Returns the amount of users on the panel

    • Only usable in: managebot
  • {nextUpdate}: Returns a relative Discord timestamp of when the message will be updated again

    • Only usable in: managebot