mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Remove debugging prints for avatar
This commit is contained in:
parent
11b6e447ae
commit
6b4d3020f5
@ -97,8 +97,6 @@ def check_user_permission(guild_id, id):
|
|||||||
|
|
||||||
def generate_avatar_url(id, av, discrim="0000", allow_animate=False):
|
def generate_avatar_url(id, av, discrim="0000", allow_animate=False):
|
||||||
if av:
|
if av:
|
||||||
print(allow_animate)
|
|
||||||
print(str(av).startswith("a_"))
|
|
||||||
if allow_animate and 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) + '.gif'
|
||||||
return avatar_base_url + str(id) + '/' + str(av) + '.png'
|
return avatar_base_url + str(id) + '/' + str(av) + '.png'
|
||||||
|
Loading…
Reference in New Issue
Block a user