diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index bcf9263..0804d62 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -459,7 +459,7 @@ class MsG: def check(msg): if msg.content.lower() == 'stop' and msg.channel is channel and msg.author.guild_permissions.administrator: raise exc.Abort - elif msg.channel is channel and message.author.id != self.bot.user.id and (re.search('(http[a-z]?:\/\/[^ ]*\.(?:gif|png|jpg|jpeg))', msg.content) is not None or msg.attachments): + elif msg.channel is channel and msg.author.id != self.bot.user.id and (re.search('(https?:\/\/[^ ]*\.(?:gif|png|jpg|jpeg))', msg.content) is not None or msg.attachments or msg.embeds): return True return False