Slashy - Your open-source custom slash-commands bot
Hey, I'm Slashy - your friendly neighborhood custom-command bot!
The code for this bot exists because I'm like the open-source community, so feel free to run it yourself, or submit pull requests to improve it.
You can get help on using the bot with the
/slashy help command in any of the servers Slashy is in, or in Slashy's DM-s.
Click right here to add Slashy to your server.
Check CHANGELOG.md for all changes.
Below are all the commands you can currently use.
Underlined commands mean that only members with a set permission can use them. Defaults to owner-only.. Set with
/slashy config <role> which is always restricted to the owner permission..
<> are required arguments and  are optional arguments.
You can't create commands with names that start with
slashy as I've reserved those for the bot.
||Add new slash commands.
The description field is optional, with the bot using A command made by Slashy by default.
||Remove existing slash commands.|
||Edit an existing command's reply, description, or both.|
||Set the role required to manage slash commands. Can only be run by the server owner.|
||List all of your server's commands.|
||Display some Slashy statistics.
Different outputs whether you run it in a server or a DM.
||You guessed it, shows you this, but in Discord!|
These are all the placeholders you can use in your custom command replies. They don't work in descriptions because that can't be dynamically changed. Feel free to open an issue to suggest any new ones.
||Mentions the user who ran the command.|
||The user ID of the user who ran the command.|
||The username of the user who ran the command.|
||Mentions the server owner.|
||The user ID of the server owner.|
||The avatar URL of the user who ran the command.|
||The server name.|
||The server's ID.|
||The server's member count.|
||The channel the command was ran in.|
This project is licensed under the GNU General Public License v3.0, so you can do a lot of things with it, as long as your code is open-source as well. Would be cool of you to link back to this project, but it's not required.
This was built using some code from LiveLaunch, which is licensed under the same license.
This repository is an open-source version of my Slashy bot that I will not be actively maintaining. The actual bot is written in Typescript, and I might release that later down the line.