Remove debugging prints for avatar

This commit is contained in:
Jeremy Zhang 2018-03-04 20:40:57 +00:00
parent 11b6e447ae
commit 6b4d3020f5

View File

@ -97,8 +97,6 @@ def check_user_permission(guild_id, id):
def generate_avatar_url(id, av, discrim="0000", allow_animate=False):
if av:
print(allow_animate)
print(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'