Configuration
config.json
enabled to true to activate the feature. No other configuration is required.
Setting AFK status
Run/afk set with an optional reason. The reason is displayed in the inline notice anyone sees when they mention you.
AFK if omitted. The maximum reason length is 200 characters.
The command replies ephemerally to confirm:
When someone mentions an AFK member
The bot sends an inline message in the same channel:The AFK member does not need to be mentioned with
@. Any mention of their user ID triggers the notice, including replies.Returning from AFK
When the AFK member sends any message in the guild, the bot:- Detects that the sender has an active AFK record.
- Fetches all pings logged since the AFK was set.
- Deletes the AFK status and ping records atomically.
- Sends a DM with a ping summary.
If the member has DMs disabled, the ping summary cannot be delivered. The AFK status is still cleared successfully.
Clearing AFK manually
Run/afk clear to remove your AFK status without sending a message first. The command replies ephemerally with the same ping summary that would have been sent on return.
Commands
/afk set
/afk set
Marks you as AFK with an optional reason.
Available to all members.
| Option | Required | Description |
|---|---|---|
reason | No | Why you are AFK (max 200 characters, defaults to AFK) |
/afk clear
/afk clear
Clears your AFK status manually and shows a ping summary.No options. Available to all members.