fix /command bug 2

pull/11/head
Konstantine Tsafatinos 2023-07-20 01:27:21 -04:00
parent 2b2e82e28f
commit 0eef370d15
1 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,8 @@ class DiscordBot(commands.Bot):
return
elif message.channel.name != 'skynet':
return
elif message.author != self.user:
elif message.author == self.user:
return
await self.process_commands(message)
await message.channel.send('', view=SkynetView(self.bot))