Commands
33 slash commands. Each one is hidden from members without its permission, and Keroku checks the permission again when it runs.
Moderation
Each action runs the hierarchy checks with members fetched fresh from Discord, creates a numbered case, posts it to the modlog and tries to DM the member. A closed DM never stops the action.
| Command | What it does | Permission |
|---|---|---|
/banuserreasondurationdelete | Ban a member. With duration, up to 365 days, the ban lifts on its own and the unban gets its own case. delete removes their messages from the last hour up to 7 days. | Ban Members |
Records
Cases are numbered per server from 1 with no gaps. They are never deleted. Only the reason changes, and every change is kept.
| Command | What it does | Permission |
|---|---|---|
/case viewcase | Show a case, how often its reason was edited and by whom last. | Timeout Members |
/case reasoncasereason | Replace a reason. The old one stays in the edit history and the change is posted to the modlog. | Timeout Members |
/historyuserpage | Every case for a user, newest first, 10 per page. | Timeout Members |
/warningsuser | A member's 10 newest warnings and the total count. | Timeout Members |
Cleanup
Each one posts an entry to the modlog. None of them create cases.
| Command | What it does | Permission |
|---|---|---|
/purgecountuserreason | Delete up to 500 messages, newest first, optionally from one user. Pinned messages stay. Discord does not bulk delete messages older than 14 days, so purge stops there and says so. | Manage Messages |
/slowmodeintervalchannelreason | Set slowmode like 10s or 5m, up to 6h. off turns it off. | Manage Channels |
/lockchanneldurationreason | Stop @everyone sending, threading and reacting in a channel. With duration, up to 30 days, it unlocks on its own. | Manage Channels |
/unlockchannelreason | Put back exactly the permission bits the lock removed. Other edits made while locked are kept. | Manage Channels |
/lockdown startdurationreason | Remove the same permissions from @everyone server wide. Channels with an overwrite that allows sending stay open. | Manage Server |
/lockdown endreason | Restore the bits @everyone had before the lockdown. | Manage Server |
Settings
/config needs Manage Server. The dashboard edits the same settings.
| Command | What it does | Permission |
|---|---|---|
/config view | Show every setting for the server. | Manage Server |
/config modlogchannel | Where cases and cleanup entries go. Without channel, turns it off. Keroku checks it can post there before saving. | Manage Server |
/config logschannel | Where message edits and deletes and member joins and leaves go. | Manage Server |
/config escalation addwarningsactionduration | At an exact warning count, 1 to 50, time out, kick or ban. Up to 10 steps. | Manage Server |
/config escalation removewarnings | Remove a step. | Manage Server |
/config automod spamenabledmessagesseconds | Delete messages sent too fast. | Manage Server |
/config automod duplicatesenabledcountseconds | Delete the same text sent again and again. |
Info
Lookups anyone who can see the channel can run. Replies are only visible to you. Nothing is stored.
| Command | What it does | Permission |
|---|---|---|
/serverinfo | Owner, creation date, member and online counts, roles, emoji, boosts and verification level. | View Channel |
/botinfo | Version, uptime, servers, users and API latency. | View Channel |
/userinfouser | Account age, and for members: nickname, join date, active timeout and roles. | View Channel |
/roleinforole | A role's settings, creation date and the moderation permissions it grants. | View Channel |