Enhancement: edit ping command to use charname rather than UID

This commit is contained in:
2025-10-17 11:18:56 -06:00
parent 41f1160fc3
commit 933ab384e1

View File

@@ -160,7 +160,8 @@ async def ping(interaction: discord.Interaction) -> None:
delete_invalidate()
cleanup_invalidate()
user_id = interaction.user.id
await interaction.response.send_message(f'Pong! {user_id} -- the bot is active, please message contrastellar with issues!')
charname = DATABASE_CONN.return_char_name(uid=user_id)
await interaction.response.send_message(f'Pong! {charname} -- the bot is active, please message contrastellar with issues!')
return