Disable avatar previews for now
This commit is contained in:
parent
9fe0c0a95a
commit
8848a71047
@ -114,10 +114,10 @@ async def member_set(ctx: CommandContext):
|
||||
await db.update_member_field(ctx.conn, member_id=member.id, field=db_prop, value=value)
|
||||
|
||||
response = CommandSuccess("{} {}'s {}.".format("Updated" if value else "Cleared", member.name, prop))
|
||||
if prop == "avatar" and value:
|
||||
response.set_image(url=value)
|
||||
if prop == "color" and value:
|
||||
response.colour = int(value, 16)
|
||||
#if prop == "avatar" and value:
|
||||
# response.set_image(url=value)
|
||||
#if prop == "color" and value:
|
||||
# response.colour = int(value, 16)
|
||||
return response
|
||||
|
||||
|
||||
|
@ -103,8 +103,8 @@ async def system_set(ctx: CommandContext):
|
||||
await db.update_system_field(ctx.conn, system_id=system.id, field=db_prop, value=value)
|
||||
|
||||
response = CommandSuccess("{} system {}.".format("Updated" if value else "Cleared", prop))
|
||||
if prop == "avatar" and value:
|
||||
response.set_image(url=value)
|
||||
#if prop == "avatar" and value:
|
||||
# response.set_image(url=value)
|
||||
return response
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user