Server command
,alias
Create your own shortcuts for commands.
Everyone can use it
Cooldown
3s
per member, per server
Aliases
2
ali, cmdalias
Subcommands
6
each with its own page
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
,alias <add|view|list|remove|removeall|reset>
Examples
,alias add b ban,alias b @user spamming,alias list,alias view b,alias remove bArguments
No documented arguments — run ,alias <add|view|list|remove|removeall|reset> on its own.
Before you run it
What the command itself checks before it does anything, read from the src/commands/server/alias.js source.
- Permissions
- Manage Server
- Reads
- only your message arguments
- Replies with
- a plain message, paginated when it runs long
- Cooldown
- 3s 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 |
|---|---|
,alias add<shortcut> <command> | point a shortcut at a command |
,alias view<shortcut> | what one shortcut does |
,alias list | every shortcut in this server |
,alias remove<shortcut> | delete one shortcut |
,alias removeall | delete every shortcut in this server |
,alias reset | put the shortcuts back to their defaults |
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
,alias add b ban
B
Create your own shortcuts for commands. 6 subcommands to pick from.
Related
More server commands
Commands that usually get used alongside ,alias.
,adminServerAdmin tools for managing your server.aliases: sadm, serveradmins,customiseServerCustomize how the bot looks.aliases: customize, reskin,forumsServerManage forum channels and threads.aliases: f, forum, thread, threads,logsServerChannel, role and server updates.aliases: log, logging,massdmServerDM a server's members, whole server or one role — owner only.aliases: dmall, massmessage,prefixesServerServer prefix settings.aliases: pfx, px
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.