Remove debug print from discordbot utilspy

This commit is contained in:
Jeremy Zhang 2018-07-18 00:39:39 +00:00
parent 6cd27f2aff
commit 0c1b706c28

View File

@ -66,7 +66,6 @@ def get_formatted_user(user):
roles = sorted(user.roles, key=lambda k: k.position, reverse=True) roles = sorted(user.roles, key=lambda k: k.position, reverse=True)
for role in roles: for role in roles:
userobj["roles"].append(str(role.id)) userobj["roles"].append(str(role.id))
print(role, role.hoist)
if role.hoist and userobj["hoist-role"] == None: if role.hoist and userobj["hoist-role"] == None:
userobj["hoist-role"] = { userobj["hoist-role"] = {
"id": str(role.id), "id": str(role.id),