Context Menus vs Application Commands - separate or not?
Question time ❓
Context menus.. they exist. They're like used once a blue century. How should we handle them in Sapphire? Should the split between application commands and context menus be clear (so a function for each), or should they both be in the same function? (especially since the interface is almost 1:1, past the target for context menus)? Should the same be done for preconditions?
13 Replies
CC @Developers for one
Can a difference be made through command options?
What do you mean?
Just like how you would handle slashies?
Because they both are almost same
So separate function for them?
separate function would probs be better
^
separate, can't see a reason to morph them together (at lease now)
I also see people separating their menu commands completely from other commands, so it follows what a (normal) person would want to do
I would actually consider context menu as new pieces. You can get a message. Or a user. Etc. Kind of different imo
But thats me
I dont consider them commands btw because they aren't really a command. They are an action on something
Instead of some kind of request of the bot. They more like a action for the bot to run on x
Discord considers them application commands
Hmm.
Then its whatever I guess
If we want to stay as close to Discord that is
Otherwise my opinion still stands
It also wouldn't make sense to make them separate pieces just like how slash commands aren't different pieces
True'ish