Revert "dont send empty message (embed)"

This reverts commit 64b3cea7a0.
This commit is contained in:
git-bruh 2021-01-03 15:49:06 +05:30
parent 64b3cea7a0
commit c793120903
No known key found for this signature in database
GPG key ID: E1475C50075ADCE6

View file

@ -175,8 +175,7 @@ class DiscordClient(discord.ext.commands.Bot):
async def on_message(self, message):
await self.process_commands(message)
if self.to_return(message.channel.id, message.author) \
or not message.content:
if self.to_return(message.channel.id, message.author):
return
content = await self.process_message(message)