Categorizing group slash commands in Folders.
Numerous fuss about how messy slash commands look and the overloading of commands from different bots are absolutely the worse. An idea I developed from someone else was to categorize these commands by groups or their group commands.
The format will look something like:
↓ Folder (closed folder)
> Folder (open folder showing commands)
command
command
eg. Using the "Highlight" discord bot (found in the dpy server):
↓ /highlight (closed folder)
> /highlight (open folder)
add
remove
show
import
block
unblock
etc.
As you can see this has a much cleaner and formatted look than the current discord format.
With this method I'm presenting, I did take into account some new users might take this as a form of category for the bot, rather than a command. Take this example:
↓ information
Some users might think this represents information about the bot. Rather than it being a command of itself. Solution?
> /information
add
view
>>> /information add (when issuing/issued. Mainly when a user has selected a command.)
By placing a slash (/) before the folder name, this indicates that it is a command. And when issuing the command, the folder name should be attached in front of the command as "/information add" to also better represent this. Problem solved in my eyes. Anymore than that a person needs is therapy.
I also think there should be an option to search "by folders" or "by command".
eg.
user input: "h"
(if "by folder" is selected)
↓ /highlight
↓ /help
(if "by command" is selected)
/highlight add
/highlight remove
/highlight show
/help categories
/help command
/help tutorial
This can cater to users who'd like to keep the current look and those who'd like to experience this idea.
-
This is a must-have feature, I hope discord see this
0 -
It would also be nice if discord gave the ability to easily remove commands from the server. I've been testing a lot of APIs with my BOT recently and now I'm in a mess of commands :(
0 -
chelminski
I am pretty sure that is possible. Both in the server and within your code.
1. When creating a slash command you have a "guilds" kwarg that takes a guild id in form of a object.eg. (in discord python)
@bot.tree.command(
name = "ping",
description = 'pong',
guilds = [discord.Object(id), discord.Object(id)]
)2. Should be available in your discord server itself. You should be able to disable whole commands or to specific channel iirc.
0
Please sign in to leave a comment.
Comments
3 comments