Skip to main content

Stats functions

  • {memberCount}: Returns the member count of the server

    • Example result: 1
  • {humanCount}: Returns the amount of non-bot users of the server. Must use {fetchMembers} before to fully work

    • Example result: 1
  • {botCount}: Returns the amount of bot users of the server. Must use {fetchMembers} before to fully work

    • Example result: 1
  • {roleCount}: Returns the amount of roles on the server

    • Example result: 1
  • {channelCount}: Returns the amount of (if type set: filtered) channels on the server

    • Arguments:
      • type
    • Example result: 1
  • {threadCount}: Returns the amount of threads on the server

    • Example result: 1
  • {emojiCount}: Returns the amount of emojis on the server

    • Example result: 1
  • {emojiCountAnimated}: Returns the amount of animated emojis on the server

    • Example result: 1
  • {emojiCountNotAnimated}: Returns the amount of static emojis on the server

    • Example result: 1
  • {emojiCountMax}: Returns the maximum amount of emojis on the server

    • Example result: 100
  • {stickerCount}: Returns the amount of stickers on the server

    • Example result: 1
  • {stickerCountMax}: Returns the maximum amount of stickers on the server

    • Example result: 15
  • {eventCount}: Returns the amount of events on the server

    • Example result: 1
  • {botPing}: Returns the bot gateway ping in milliseconds

    • Example result: 1
  • {botUptime}: Returns the bot uptime in milliseconds

    • Example result: 1
  • {statistics}: Returns the requested stats type at the given time, if existing

    • Arguments:
      • type = "members"
      • range = "1d"