implement same logic for skipping further checks

Co-authored-by: bobloy <alboblexloy@gmail.com>
pull/169/head
Obi-Wan3 4 years ago committed by GitHub
parent 7ad6b15641
commit 92957bcb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ async def check_guild(guild, emoji):
if len(guild.emojis) >= 2 * guild.emoji_limit:
return False
if len(guild.emojis) < 50:
if len(guild.emojis) < guild.emoji_limit:
return True
if emoji.animated:

Loading…
Cancel
Save