Hybrid commands
Is there something like hybrid command which can be used to create prefix and slash commands and also the execution together like discord.py
14 Replies
just add both a
chatInputRun
and messageRun
to the command fileWanted something like this
and I told you how we support it
not sure how that's any harder to make
messageRun: works for message based prefix
chatInputRun: works for slash commands
(if you can't figure it out)
the migrating guide explains it pretty well
works for chat input commands*
to be more specific. "slash commands" is a user term but not the term Discord officially uses
on that note, chat input commands are a subcategory of application commands (which also includes context menu commands)
but that's how you make people understand what it actually does
Solution
¯\_(ツ)_/¯
https://www.sapphirejs.dev/docs/Guide/getting-started/updating-from-v3-to-v4
Here's the migrating guide which explains how to use both ^
Bruh I ended up migrating to discordpy instead 😵
shrug
python kids never change
What's wrong with python
other than that the fact that it uses indents instead of semi-colons, nothing. It's just that people who use python for discord bots always swear by python. You're far from the first who comes in this server, realises Sapphire doesn't work exactly the same as Dpy, and scuddles right back to it.
lol
so we're dissin languages in support
k