,admin
Admin tools for managing your server.
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.
,admin <member> [reason] <channel>
,admin viewwarnings @user,admin notes add @user broke rules,admin cleanup roles,admin recent bans,admin announce #general helloArguments
Square brackets are optional, angle brackets are required — the same legend ,help admin prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
member | required | a member mention, id or username |
reason | optional | free text, shown in the mod log |
channel | required | a channel mention, name or id |
Before you run it
What the command itself checks before it does anything, read from the src/commands/server/admin.js source.
- Permissions
- Administrator
- Reads
- member, channel mentions
- Replies with
- a plain message, paginated when it runs long
- Cooldown
- 5s per member, per server
Every subcommand
Call the command with no argument inside Discord and the bot draws one page per subcommand, exactly like this.
| Subcommand | What it does |
|---|---|
,admin viewwarnings<@user> | every warning one member has |
,admin notes<add|view|remove|clear> <@user> [text] | staff notes on one member |
,admin cleanup<channels|roles|duplicates|bots> [confirm] | clear out stale channels, roles, duplicates or bots |
,admin history<@user> | every moderation action against one member |
,admin recent<kicks|bans> | the latest kicks or bans |
,admin announce[#channel] <message> | post an announcement as the bot |
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.
More server commands
Commands that usually get used alongside ,admin.
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.