Revert "dont send empty message (embed)"
This reverts commit 64b3cea7a0
.
This commit is contained in:
parent
64b3cea7a0
commit
c793120903
1 changed files with 1 additions and 2 deletions
3
main.py
3
main.py
|
@ -175,8 +175,7 @@ class DiscordClient(discord.ext.commands.Bot):
|
||||||
async def on_message(self, message):
|
async def on_message(self, message):
|
||||||
await self.process_commands(message)
|
await self.process_commands(message)
|
||||||
|
|
||||||
if self.to_return(message.channel.id, message.author) \
|
if self.to_return(message.channel.id, message.author):
|
||||||
or not message.content:
|
|
||||||
return
|
return
|
||||||
|
|
||||||
content = await self.process_message(message)
|
content = await self.process_message(message)
|
||||||
|
|
Loading…
Reference in a new issue