This commit is contained in:
Ske 2018-07-16 13:37:06 +02:00
parent f9b156c4a2
commit 9c0811afe8

View File

@ -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