Fix 'and' typo

This commit is contained in:
Jeremy Zhang 2018-03-04 08:12:02 +00:00
parent aa5a4fa79a
commit bd7e1419d7

View File

@ -97,7 +97,7 @@ def check_user_permission(guild_id, id):
def generate_avatar_url(id, av, discrim="0000", allow_animate=False):
if av:
if allow_animate && str(av).startswith("a_"):
if allow_animate and str(av).startswith("a_"):
return avatar_base_url + str(id) + '/' + str(av) + '.gif'
return avatar_base_url + str(id) + '/' + str(av) + '.png'
else: