Text command
,constant
Convert text to CONSTANT_CASE.
Everyone can use it
Cooldown
2s
per member, per server
Aliases
2
con, cons
Subcommands
0
none — one call does it
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
Syntax
,constant [text]
Examples
,constant The quick brown foxArguments
Square brackets are optional, angle brackets are required — the same legend ,help constant prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
text | optional | your own text |
Before you run it
What the command itself checks before it does anything, read from the src/commands/text/constant.js source.
- Permissions
- No Discord permission flag is read directly — access goes through the bot's own rules
- Reads
- only your message arguments
- Replies with
- a plain message
- Cooldown
- 2s per member, per server
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
M
,constant The quick brown fox
B
Convert text to CONSTANT_CASE.
Related
More text commands
Commands that usually get used alongside ,constant.
,consonantsTextText tool — consonants.aliases: conx,acronymTextBuild an acronym from a phrase.aliases: acr, acro,alternateTextRestyle text as Alt Ernate.aliases: alt, alte,anagramTextScramble a word into an anagram.aliases: ana, anag,arrowTextRestyle text as Arrow.aliases: arr, arrx,atbashTextText tool — atbash.aliases: atb, atba
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.