Enhancement: edit ping command to use charname rather than UID
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user