The slash commands can now use interactions
This commit is contained in:
@@ -51,7 +51,6 @@ internal class CommandHandler
|
||||
if (plugin is null)
|
||||
throw new Exception("Failed to run command !");
|
||||
|
||||
|
||||
if (arg.Channel is SocketDMChannel)
|
||||
plugin.ExecuteDM(arg);
|
||||
else plugin.ExecuteServer(arg);
|
||||
|
||||
Reference in New Issue
Block a user