more debug information, more useful
This commit is contained in:
parent
a3ca746e86
commit
b78b029855
1 changed files with 3 additions and 3 deletions
|
@ -76,12 +76,12 @@ def main(args):
|
|||
steam_id = SteamID(steamid)
|
||||
except:
|
||||
await ctx.send(f"You failed to give a valid SteamID as it seems, please head to <https://steamid.xyz/> and check.", ephemeral=True)
|
||||
logger.debug(f"User ({user.id}) has give a invalid SteamID. Could not convert!")
|
||||
logger.debug(f"User {user.username} ({user.id}) has give a invalid SteamID. Could not convert! {steamid}")
|
||||
return
|
||||
|
||||
if steam_id.isValid() == False:
|
||||
await ctx.send(f"You failed to give a valid SteamID as it seems, please head to <https://steamid.xyz/> and check.", ephemeral=True)
|
||||
logger.debug(f"User ({user.id}) has given a invalid SteamID!")
|
||||
logger.debug(f"User {user.username} ({user.id}) has given a invalid SteamID! Value: {steamid}")
|
||||
return
|
||||
|
||||
try:
|
||||
|
@ -94,7 +94,7 @@ def main(args):
|
|||
logger.warning(f"Error while trying to access database.", err)
|
||||
return
|
||||
await ctx.send(f"You have already claimed a reserved slot!", ephemeral=True)
|
||||
logger.debug(f"{steam_id.steam2(1)} or {user.id} is already in the database.")
|
||||
logger.debug(f"{steam_id.steam2(1)} or User {user.username} ({user.id}) is already in the database.")
|
||||
|
||||
bot.start()
|
||||
|
||||
|
|
Loading…
Reference in a new issue