We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66deebf commit dc1cf97Copy full SHA for dc1cf97
discord_slash/client.py
@@ -339,6 +339,7 @@ async def on_socket_response(self, msg):
339
if to_use["data"]["name"] in self.commands.keys():
340
selected_cmd = self.commands[to_use["data"]["name"]]
341
ctx = model.SlashContext(self.req, to_use, self._discord, self.logger)
342
+ await self._discord.dispatch("slash_command", to_use["data"]["name"], selected_cmd)
343
if selected_cmd["guild_ids"]:
344
if ctx.guild.id not in selected_cmd["guild_ids"]:
345
return
0 commit comments