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': elif message.channel.name != 'skynet':
return return
elif message.author != self.user: elif message.author != self.user:
await message.channel.send('', view=SkynetView(self.bot)) await self.process_commands(message)
return await message.channel.send('', view=SkynetView(self.bot))
await self.process_commands(message)
async def on_command_error(self, ctx, error): async def on_command_error(self, ctx, error):
if isinstance(error, commands.MissingRequiredArgument): if isinstance(error, commands.MissingRequiredArgument):