implement same logic for skipping further checks
Co-authored-by: bobloy <alboblexloy@gmail.com>
This commit is contained in:
parent
7ad6b15641
commit
92957bcb1f
@ -19,7 +19,7 @@ async def check_guild(guild, emoji):
|
|||||||
if len(guild.emojis) >= 2 * guild.emoji_limit:
|
if len(guild.emojis) >= 2 * guild.emoji_limit:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if len(guild.emojis) < 50:
|
if len(guild.emojis) < guild.emoji_limit:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if emoji.animated:
|
if emoji.animated:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user