Erisa/Cliptok

Todo: Refactor use of SlashCommands to Commands for upcoming D#+ deprecation

Opened this issue · 1 comments

Currently I have updated to DSharpPlus 5.0.0-nightly-02379. DSharpPlus.SlashCommands and DSharpPlus.CommandsNext have been migrated to DSharpPlus.Commands, and each individual command processor (text command processor and slash command processor) function. However, they don't function together yet.

Lots of our commands are both text and slash commands. For some, everything is the same and they can be combined into a single command under DSharpPlus.Commands (I haven't done this yet! But it will be done before this is considered complete). Some commands cannot be easily-combined like this. For example, we have different usages between !ban and /ban. I do not want to change the usage of either of them (though if I have to, the text command takes priority!).

DSharpPlus.Commands does not currently allow us to register both a slash and text command with the same name (looks to be maybe planned?). This issue is "blocked" on that. See some discussion at https://discord.com/channels/150662382874525696/793285213823172628/1291774345558884523 and https://discord.com/channels/379378609942560770/1094835363475886163/1290285210247761972