Modules
Custom Commands
Make your own slash commands for your server, like /rules or /hug. Each command runs its steps in order: it can reply, post in another channel, send a DM, and add, remove or toggle roles.
Setting it up
- On the dashboard, open Community Tools › Custom Commands.
- Type a name under New command and press + Make command. The editor opens.
- Write a description, then add steps under Steps. A new command starts with one empty Reply step.
- Optionally, use Who and where to limit it to roles or channels, add a cooldown, or let members pick a member.
- Turn on the switch next to Command and press Save Changes.
New commands start off, so you can set them up first. An off command isn't in Discord's command list. Once it's on and saved, it can take a minute to show up in Discord. Server admins and Sparrow Master Roles can make and change custom commands.
The command
| Setting | What it does |
|---|---|
| Name | What members type after the slash. Lowercase letters, numbers, - or _, up to 32 characters, no spaces. It can't be one of Sparrow's own commands, one of your Economy earn commands, or another custom command. |
| Description | Shows next to the command in Discord. Up to 100 characters. |
| On | Puts the command in Discord's command list for your server. Off takes it out. |
| Who sees the reply | Everyone in the channel, or Only the member who used it. |
Changing the name or description updates the command in Discord when you save. Deleting a command removes it from Discord too.
Who and where
| Setting | What it does |
|---|---|
| Who can use it | Empty means everyone. Otherwise members need one of these roles. Others are told privately which roles they need. |
| Where it works | Every channel, Only these, or All except these (up to 25 channels). Threads count as their parent channel. |
| Cooldown per member | How long before the same member can use it again, up to 7 days. 0 means none. Sparrow tells them privately when they can use it again. |
| Pick a member | No, Optional or Required. Adds a member option, for commands like /hug @someone. |
Steps
Add steps with the buttons under the list, and drag them to change the order. Sparrow runs them from the top. Free servers get 5 steps per command, Premium allows 20.
| Step | What it does |
|---|---|
| Reply | Answers the command in the channel. The first Reply answers the command, and more Reply steps come after it. |
| Post in a channel | Posts a message in a channel you pick. |
| Send a DM | DMs the member who used it, or the member they picked. |
| Add roles | Gives roles to the member who used it, or the member they picked. |
| Remove roles | Takes roles away. |
| Toggle roles | Gives each role they don't have, and takes each role they do. Good for a role members can turn on and off themselves. |
A command with no Reply step still answers, privately, with Done. If a step can't run, Sparrow skips it, runs the rest, and tells the member who used the command privately what was skipped.
Messages and GIFs
Reply, Post in a channel and Send a DM steps each hold messages and GIFs. Each message can be Text, an Embed or Components V2. Add more messages with + Text, + Embed or + Components V2, and Sparrow picks one at random each time, never the one that step sent last time in that channel. Free servers get 3 messages per step, Premium allows 100.
Under GIFs and pictures, press + Upload or paste a link and press Add. Sparrow picks one each time, not the same as last time, and shows it under the message: below text, as an embed's picture, or at the end of a Components V2 message. Free servers get 5 per step, Premium allows 50.
Direct links to a picture work, like one that ends in .gif. Tenor and Giphy page links work too: Sparrow saves the GIF from the page. There's no GIF search inside Sparrow, so find the GIF on Tenor or Giphy, or upload your own.
Placeholders
These are filled in when the message is sent:
| Placeholder | Becomes |
|---|---|
{user} | A mention of the member who used the command. |
{username} | Their username. |
{displayname} | Their server nickname, or their name. |
{channel} | The channel they used it in. |
{server} | The server name. |
{membercount} | The server's member count. |
{avatar} | Their avatar. Use it as an image or thumbnail. |
{servericon} | The server icon. Use it as an image or thumbnail. |
{target} | A mention of the member they picked. Empty if they didn't pick one. |
{targetname} | The picked member's name, without a mention. |
{targetavatar} | The picked member's avatar. Use it as an image or thumbnail. |
Only the member who used the command and the member they picked are ever pinged. @everyone, @here and roles never are. See all placeholders on the Placeholders page.
Roles
Role steps change the roles of the member who used the command, or of the member they picked. Free servers can pick 5 roles per step, Premium has no limit. Sparrow needs the Manage Roles permission, and its own role must be higher in your role list than every role a command gives or takes.
Steps that change the picked member's roles, or DM the picked member, only work when Who can use it is limited to at least one role. Otherwise anyone could hand out roles or make Sparrow DM people. For the same reason, a command anyone can use can't give a role with powerful permissions, like Manage Server or Manage Roles.
When a command changes another member's roles, it shows in Staff Activity, with who used it.
What it doesn't do
- Slash commands only. Typed commands like
!rulesaren't supported. - No scripting, variables or if-then rules. Each command runs the same steps every time, with placeholders and random picks.
- No GIF search inside Sparrow. Upload GIFs, or paste a Tenor, Giphy or direct link.
- Custom commands work in servers only, not in DMs with Sparrow.
Troubleshooting
When a step is skipped, the member who used the command is told privately. The dashboard also shows the last problem on the command: Last use had a problem in the list, and the full reason at the top of its page. It clears after the next use that works, or when you save.
The command doesn't show up in Discord
Check that the switch next to Command is on and that you pressed Save Changes. New commands start off. After saving it can take a minute to show up, and changes reach Sparrow within 30 seconds. Reload Discord (Ctrl+R or Cmd+R) if it's still missing.
If saving says "This server's command list is full.", Discord allows 100 commands in a server's own list, and your Economy earn commands count too. Turn off or delete one, then save again.
A role wasn't given or taken (permissions and role order)
Sparrow skips the role and tells the member: "Sparrow can't change @Role. Its own role needs to be above it, with Manage Roles." Two things are needed:
- Sparrow needs the Manage Roles permission. Check its role in Server Settings → Roles.
- Sparrow's own role must be higher in the role list than every role the command gives or takes. In Server Settings → Roles, drag the Sparrow role above them and save. Discord doesn't let a bot change a role at or above its own.
A role that belongs to a bot or an integration, like a server booster role, can't be given by anyone: "@Role belongs to a bot or an integration, so Sparrow can't change it." A role that was deleted shows "A role in this command doesn't exist anymore." Pick it again and save.
If the step is for the picked member and the message says "skipped. Changing the picked member's roles needs "Who can use it" limited to a role.", add a role under Who can use it.
A message wasn't posted, or the GIF is missing (channel permissions)
For a Post in a channel step, Sparrow needs View Channel and Send Messages in that channel. Without them it skips the step: "Sparrow can't post in #channel. Give it View Channel and Send Messages there."
It also needs Embed Links there for embeds and GIFs to show. Without it, a GIF is left off: "posted without the picture. Sparrow needs Embed Links in #channel." Set these in the channel's settings under Permissions.
A Reply step answers the command, so it doesn't need these permissions. A DM can fail when the member's DMs are closed: "couldn't DM Riley. Their DMs are closed."
A GIF link wasn't accepted
The dashboard says "That link doesn't show a picture. Use a direct link that ends in .gif, or upload the GIF." Tenor and Giphy page links work when they open one GIF, like tenor.com/view/... or giphy.com/gifs/.... A search or collection page doesn't. Open the GIF itself and copy its link, or download it and press + Upload.
Other links are saved as they are. If one isn't a picture, the editor shows Doesn't load on it. Remove it and add the GIF's own link instead.
Members can't use it
Sparrow tells them why, privately: they need one of the roles in Who can use it, it doesn't work in that channel, or they're on the cooldown.
"Discord didn't accept the message"
Something is too long once the placeholders are filled in, like an embed over Discord's limits. Shorten that message. A whole command can hold up to 400,000 characters of messages; past that, saving says "This command's messages are too long all together."
Free servers & Premium
| Free | Premium | |
|---|---|---|
| Custom commands | 10 | 90 |
| Steps per command | 5 | 20 |
| Messages per message step | 3 | 100 |
| GIFs and pictures per message step | 5 | 50 |
| Roles per role step, and in Who can use it | 5 | No limit |
90 is the most because Discord allows 100 commands in a server's own list, shared with Economy earn commands. If Premium ends, everything already saved keeps working. You just can't add more past the free limits.
