Whoops
This commit is contained in:
parent
f9b156c4a2
commit
9c0811afe8
@ -110,7 +110,7 @@ async def system_set(conn, message, args):
|
|||||||
db_prop = db_properties[prop]
|
db_prop = db_properties[prop]
|
||||||
await db.update_system_field(conn, system_id=system["id"], field=db_prop, value=value)
|
await db.update_system_field(conn, system_id=system["id"], field=db_prop, value=value)
|
||||||
|
|
||||||
response = "{} system {}.".format("Updated" if value else "Cleared", prop)
|
response = make_default_embed("{} system {}.".format("Updated" if value else "Cleared", prop))
|
||||||
if prop == "avatar" and value:
|
if prop == "avatar" and value:
|
||||||
response.set_image(url=value)
|
response.set_image(url=value)
|
||||||
return True, response
|
return True, response
|
||||||
|
Loading…
Reference in New Issue
Block a user