Inserting guild name in console printing log

pull/8/head
sgoudham 4 years ago
parent 03a1b4861d
commit 6a5edf245c

@ -115,7 +115,7 @@ async def on_guild_remove(guild):
# Execute the SQL Query # Execute the SQL Query
cursor.execute(delete_query, vals) cursor.execute(delete_query, vals)
conn.commit() conn.commit()
print(cursor.rowcount, "Record deleted successfully from Members") print(cursor.rowcount, f"Record deleted successfully from Members from {guild.name}")
except mariadb.Error as ex: except mariadb.Error as ex:
print("Parameterized Query Failed: {}".format(ex)) print("Parameterized Query Failed: {}".format(ex))

Loading…
Cancel
Save