changed phrasing of logging output

This commit is contained in:
Philipp 2022-10-01 09:55:15 +02:00
parent aa6a4728ba
commit a3ca746e86
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750

View file

@ -87,7 +87,7 @@ def main(args):
try: try:
database.create_reserved_slot(mysql, user, steam_id.steam2(1)) database.create_reserved_slot(mysql, user, steam_id.steam2(1))
await ctx.send(f"You just claimed a reserved slot for: `{steam_id.steam2(1)}`!") await ctx.send(f"You just claimed a reserved slot for: `{steam_id.steam2(1)}`!")
logger.debug(f"{steam_id.steam2(1)} has just claimed a reserved slot.") logger.debug(f"{user.id} with SteamID: {steam_id.steam2(1)} has just claimed a reserved slot.")
except Exception as err: except Exception as err:
if str(err) != "Duplicate entrys": if str(err) != "Duplicate entrys":
await ctx.send(f"Something failed with the database, please try again later.", ephemeral=True) await ctx.send(f"Something failed with the database, please try again later.", ephemeral=True)