fix /command bug

pull/11/head
Konstantine Tsafatinos 2023-07-20 01:24:49 -04:00
parent 8625b5747b
commit 2b2e82e28f
1 changed files with 2 additions and 3 deletions

View File

@ -55,9 +55,8 @@ class DiscordBot(commands.Bot):
elif message.channel.name != 'skynet':
return
elif message.author != self.user:
await message.channel.send('', view=SkynetView(self.bot))
return
await self.process_commands(message)
await self.process_commands(message)
await message.channel.send('', view=SkynetView(self.bot))
async def on_command_error(self, ctx, error):
if isinstance(error, commands.MissingRequiredArgument):