fix: awaited broken modal on_submit method

This commit is contained in:
Seaswimmer 2023-08-07 21:37:17 -04:00
parent be106bc740
commit 35f06f705b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -45,7 +45,7 @@ class Say(commands.Cog):
) )
async def on_submit(self, interaction: discord.Interaction): async def on_submit(self, interaction: discord.Interaction):
Say.send_to_target(self, self.target, interaction, self.message, self.secondary_message) await Say.send_to_target(self, self.target, interaction, self.message, self.secondary_message)
send = app_commands.Group(name="send", description="Send a message as the bot user!") send = app_commands.Group(name="send", description="Send a message as the bot user!")