Misc command
,afk
Set an AFK status so people know you are away.
Everyone can use it
Cooldown
5s
per member, per server
Aliases
1
away
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
,afk [text]
Examples
,afk helloBuilt from the syntax above — swap the placeholders for your own mentions.
Arguments
Square brackets are optional, angle brackets are required — the same legend ,help afk 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/misc/afk.js source.
- Permissions
- No Discord permission flag is read directly — access goes through the bot's own rules
- Reads
- free text after the command
- Replies with
- a plain message
- Cooldown
- 5s 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
,afk hello
B
Set an AFK status so people know you are away.
Related
More misc commands
Commands that usually get used alongside ,afk.
,bannerMiscShow a user's profile banner.aliases: bn, userbanner,botinfoMiscShow stats about the bot itself: users, servers, latency, memory and shards.aliases: about, bi, bot,builderMiscBuild embeds interactively.aliases: bd, embedbuild,calcMiscEvaluate a maths expression.aliases: calculate, compute, math,ceMiscSend an embed using a script.aliases: code, codeblock,channelinfoMiscShow details about a channel.aliases: chi, cinfo
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.