ReferenceCommands
Counters commands
Every Counters command in Dexy: usage, arguments, examples, the permission it needs and its cooldown.
Channels whose names show live numbers: members, online, roles, voice, countdowns and more.
Part of the Counters module (on by default; turning modules on and off). How it all fits together: Counters. ๐ commands need the permission shown, Administrator or the server's Dexy admin role (permissions).
/d!counter#
Show this server's live counters: channels whose names show numbers that update on their own.
Each counter has a number (#1, #2 โฆ) that the other counter commands use. Without a subcommand you get the list, how full it is, and the commands to make and change counters.
/counter
d!counter
d!counter
See it in DiscordFluxer
d!counterthis server's counters and how to make oned!countersthe same, with the other name
/d!counter add#
Make a new counter channel from a preset or your own name with counters in braces.
Pick the channel type by adding --voice (members can't join), --text (read-only), --link [url] (opens your link, or mine if you leave it out) or --category anywhere in the name; otherwise I ask with reactions. New channels go where counter settings place says (the ๐ Server Stats category if there is one, by default). Rename the channel any time: I keep your wording and the numbers keep updating. A server can make 5 counters every minute.
/counter add <name>
d!counter add <name>
d!counter add <name>
See it in DiscordFluxer
- nameneeded
- A preset like
members,online,goal 1000orrole @Mods(all incounter types), or your own name with up to 4 counters in braces:๐ฅ {members} | ๐ข {online}.
d!counter add membersa ๐ฅ Members counter; I ask which channel typed!counter add ๐ฅ {members} | ๐ข {online} --voiceyour own name in a voice channeld!counter add goal 1000 --textmembers still needed to reach 1,000, in a text channeld!counter add online --link https://example.comthe online count in a channel that opens your site
/d!counter attach#
Turn an existing channel into a counter; I rename it right away and keep it updated.
The channel keeps its type. Turning the counter off or removing it never deletes a channel you attached. It counts toward the 5 counters a server can make every minute.
/counter attach <channel> <name>
d!counter attach <channel> <name>
d!counter attach <channel> <name>
See it in DiscordFluxer
- channelneeded
- The channel, as a mention or its ID: a voice, text, link or category channel in this server that isn't a counter yet.
- nameneeded
- What it shows: a preset like
membersorgoal 1000, or your own name with up to 4 counters in braces, like๐ฅ {members} members.
d!counter attach #stats ๐ฅ {members} members#stats now shows the member countd!counter attach #stats onlinemakes #stats a ๐ข Online counter
/d!counter edit#
Change what a counter shows; its channel keeps its type and, if the counter is on, is renamed right away.
A counter that's on can be renamed this way 5 times every minute (new links count too).
/counter edit <number> <name>
d!counter edit <number> <name>
d!counter edit <number> <name>
See it in DiscordFluxer
- numberneeded
- The counter's number from
counter list, like2or#2. - nameneeded
- The new name: a preset like
onlineorgoal 500, or your own name with up to 4 counters in braces, like๐ข {online} online.
d!counter edit 2 ๐ข {online} onlinecounter #2 now shows the online countd!counter edit 1 goal 500counter #1 now shows members still needed to reach 500
/d!counter link#
Change the link a link counter opens when someone clicks it.
A counter can get a new link 5 times every minute (renames with counter edit count too).
/counter link <number> [url]
d!counter link <number> [url]
d!counter link <number> [url]
See it in DiscordFluxer
- numberneeded
- The link counter's number from
counter list, like2or#2. - urloptional
- A full web address starting with
http://orhttps://. My own link if left out.
d!counter link 2 https://example.comcounter #2 now opens example.comd!counter link 2counter #2 opens my link again
/d!counter list#
List this server's counters: each one's number, on/off state, channel and what it shows.
/counter list
d!counter list
d!counter list
See it in DiscordFluxer
d!counter listevery counter, with the numbers other commands used!counter lsthe same, shorter
/d!counter name#
Give a counter a label in counter list, to tell counters apart; the channel name doesn't change.
/counter name <number> [label]
d!counter name <number> [label]
d!counter name <number> [label]
See it in DiscordFluxer
- numberneeded
- The counter's number from
counter list, like2or#2. - labeloptional
- The label, up to 50 characters (longer ones are cut). Clears the label if left out.
d!counter name 2 Front pagecounter #2 is labelled Front page in `counter list`d!counter name 2removes counter #2's label
/d!counter off#
Turn a counter off and keep its settings, so counter on can bring it back.
A channel I made is deleted. A channel you attached is kept and just stops updating. A server can delete 5 counter channels every minute.
/counter off <number>
d!counter off <number>
d!counter off <number>
See it in DiscordFluxer
- numberneeded
- The counter's number from
counter list, like2or#2.
d!counter off 2turns counter #2 offd!counter off #3the same for counter #3
/d!counter on#
Turn a counter back on; if its channel is gone I make a new one.
A new channel has the counter's old type and goes where counter settings place puts new counters (the ๐ Server Stats category if there is one, by default). Making it counts toward the 5 counters a server can make every minute.
/counter on <number>
d!counter on <number>
d!counter on <number>
See it in DiscordFluxer
- numberneeded
- The counter's number from
counter list, like2or#2.
d!counter on 2turns counter #2 back ond!counter on #3the same for counter #3
/d!counter preview#
See what a counter name would show right now, without making a channel.
/counter preview <name>
d!counter preview <name>
d!counter preview <name>
See it in DiscordFluxer
- nameneeded
- A preset like
membersorgoal 1000(seecounter types), or your own name with up to 4 counters in braces, like๐ฅ {members} | ๐ข {online}.
d!counter preview ๐ฅ {members} | ๐ข {online}the name with the member and online counts nowd!counter preview goal 1000how the goal preset would readd!counter preview โณ {countdown:2027-01-01 00:00|end=Happy New Year!}time left until New Year
/d!counter refresh#
Update every counter now instead of waiting for the next scheduled update.
Only counters whose numbers changed are renamed.
/counter refresh
d!counter refresh
d!counter refresh
See it in DiscordFluxer
d!counter refreshupdates every counter that changedd!counter updatethe same, with the other name
/d!counter remove#
Delete a counter and its settings, along with the channel I made for it.
A server can delete 5 counter channels every minute; with keep nothing is deleted, so it always works.
/counter remove <number> [keep]
d!counter remove <number> [keep]
d!counter remove <number> [keep]
See it in DiscordFluxer
- numberneeded
- The counter's number from
counter list, like2or#2. - keepoptional
- Type
keepto keep the channel; it just stops updating. Left out, a channel I made is deleted. Channels you attached are always kept.
d!counter remove 2deletes counter #2 and the channel I made for itd!counter remove 2 keepdeletes counter #2 but keeps its channel
/d!counter reset#
Remove every counter in this server, after you confirm with โ (โ cancels).
It deletes the channels I made and the ๐ Server Stats category too; channels you attached are kept. You have 60 seconds to react. A reset counts as one of the 5 deletions a server can make every minute (none with keep).
/counter reset [keep] [confirm]
d!counter reset [keep] [confirm]
d!counter reset [keep] [confirm]
See it in DiscordFluxer
- keepoptional
- Type
keepto keep all the channels; they just stop updating. Left out, the channels I made and the category are deleted. - confirmoptional
- Type
confirmto skip the โ question. I ask first if left out. Works in any order withkeep.
d!counter resetasks first, then removes every counter and the channels I maded!counter reset keepremoves every counter but keeps all the channelsd!counter reset keep confirmthe same, without asking
/d!counter settings#
Show the counter settings: where new counters go, locking, the default channel type and number format.
Change them with counter settings place, lock, type and numbers. They apply to counters made from now on (numbers: to every counter's next update); the dashboard has them too.
/counter settings
d!counter settings
d!counter settings
See it in DiscordFluxer
d!counter settingssee the four counter settingsd!counter configthe same, with the other name
/d!counter settings lock#
Lock new voice and text counters so members can see them but can't join or post (on by default).
Locking needs the Manage Roles permission; counters made before keep their permissions.
/counter settings lock <value>
d!counter settings lock <value>
d!counter settings lock <value>
See it in DiscordFluxer
- valueneeded
onoroff.
d!counter settings lock offnew counter channels keep the category's permissionsd!counter settings lock onlock new counter channels again
/d!counter settings numbers#
Choose how counters write numbers that have no |short or |full of their own.
It changes every counter at its next update; |short and |full in a counter still win.
/counter settings numbers <style>
d!counter settings numbers <style>
d!counter settings numbers <style>
See it in DiscordFluxer
- styleneeded
full(1,234; the default) orshort(1.2k).
d!counter settings numbers short1,234 shows as 1.2kd!counter settings numbers fullnumbers show in full again
/d!counter settings place#
Choose where new counter channels go: the ๐ Server Stats category, a category you pick, or no category.
Counters that already exist stay where they are. A counter turned back on goes here too.
/counter settings place <where>
d!counter settings place <where>
d!counter settings place <where>
See it in DiscordFluxer
- whereneeded
auto(the ๐ Server Stats category oncecounter setupmade it, else the top of the channel list; the default), a category as a mention or its ID, ornone(the top).
d!counter settings place autonew counters go in ๐ Server Stats, as by defaultd!counter settings place 1402000000000000032new counters go in that categoryd!counter settings place nonenew counters go at the top, in no category
/d!counter settings type#
Pick the channel type offered first for new counters: on the dashboard, and first in my question.
/counter settings type <kind>
d!counter settings type <kind>
d!counter settings type <kind>
See it in DiscordFluxer
- kindneeded
voice(the default),text,linkorcategory.
d!counter settings type textnew counters start as text channelsd!counter settings type voiceback to voice channels
/d!counter setup#
Quick setup: a ๐ Server Stats category with Members, Users and Bots counters in it.
It adds 3 counters, so the server needs room for them. If the category already exists, the new counters go in it; if counter settings place picked a category or the top of the channel list, they go there instead. Voice and text counters are locked so members can't join or post (I need the Manage Roles permission for that) unless counter settings lock is off. A server can make 5 counters every minute; quick setup uses 3 of them.
/counter setup [options]
d!counter setup [options]
d!counter setup [options]
See it in DiscordFluxer
- optionsoptional
- The channel type:
voice(members can't join),text(read-only) orlink [url](opens your link, or mine).--voicestyle works too. I ask with reactions if left out.
d!counter setupasks which channel type, then makes the three countersd!counter setup voicevoice channels members can see but can't joind!counter setup link https://example.comlink channels that open your site
/d!counter speed#
Set how often a counter updates, or go back to the automatic speed for what it shows.
Automatic picks from the counter's contents: the time and online counts as often as the server's plan allows, member counts every 30 minutes, stats every hour, roles, channels and emojis every 6 hours, the date once a day. The channel is renamed only when its text changes.
/counter speed <number> [speed]
d!counter speed <number> [speed]
d!counter speed <number> [speed]
See it in DiscordFluxer
- numberneeded
- The counter's number from
counter list, like2or#2. - speedoptional
10m,30m,1h,3h,6h,12hor1d, orauto. Shows the current speed if left out.
d!counter speed 2 1hcounter #2 updates every hourd!counter speed 2 autocounter #2 goes back to the automatic speedd!counter speed 2shows how often counter #2 updates
/d!counter types#
List everything a counter can show, the options you can add to it, and the ready-made presets.
Put counters in braces in a channel name, up to 4 per channel, like ๐ฅ {members} | ๐ข {online}. Any number counter takes |short (1.2k), |full (1,234) or |goal=1000 (1000 minus the number).
/counter types
d!counter types
d!counter types
See it in DiscordFluxer
d!counter typesevery counter, option, channel type and presetd!counter presetsthe same list