Docs / Analytics / Commands / /counter create
Admin Server only

/counter create

Add one counter channel

Usage

Generated
/counter create <type> [role] [name] [category]
OptionTypeRequiredDescription
type text Yes What the channel counts
All membersMembers (people only)BotsOnline membersMembers in voiceMembers with a roleChannelsText channelsVoice channelsCategoriesRolesEmojisStickersBoostsBoost levelBansMembers still in rules screeningMembers without a roleMembers playing a gameMembers streamingClock (UTC)
role role No The role to count (for Members with a role)
name text No The channel name, with {value} where the number goes (1 to 100 characters)
category channel No Put the new channel in this category (category channels)

Who can run it

Generated
Discord defaultMembers with Manage Server
Command Access presetServer managers
Always allowedThe server owner and, by default, Administrators
Change itDashboard, Services, Analytics, Commands

The presets keep it for server managers. Server owners and Administrators can always run it. How Command Access works.

What the bot needs

Generated

Analytics is granted these permissions by the invite link. A command that finds one missing replies privately with what it could not do and changes nothing.

View ChannelSend MessagesEmbed LinksManage Roles

Behaviour

Checked against the code 2026-09-29

Adds one counter channel. Pick what it counts with type: All members, Members (people only), Bots, Online members, Members in voice, Members with a role, Channels, Text channels, Voice channels, Categories, Roles, Emojis, Stickers, Boosts, Boost level, Bans, Members still in rules screening, Members without a role, Members playing a game, Members streaming or a Clock (UTC).

For Members with a role, pick the role with role; the channel is named after it, for example "Raiders: 12". Give your own name with name, putting {value} where the number goes, and put the channel in a category with category.

The new channel is a voice channel nobody can join. The reply links it and the name fills in within 6 minutes.

Good to know

  • Needs Manage Server to use; the bot needs Manage Channels.
  • Online members and Members playing or streaming need the Presence intent. /counter check says when it is missing.
  • The Bans counter needs the bot to have Ban Members.
  • Counters with more settings, such as a countdown, followers, game server players or activity counts, are made on the dashboard's Counters page.
  • A counter made here opens with Edit on the Counters page like any other.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction