mirror of https://github.com/skygpu/skynet.git
fix /command bug 2
parent
2b2e82e28f
commit
0eef370d15
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue