From b7af493d34e10ded0f42744459e1ede1ee5e720c Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 8 Feb 2024 17:24:14 +0800 Subject: [PATCH] feat(discord_bot): Add friend's activity status to get_friends function --- discord_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord_bot.py b/discord_bot.py index 2f3bdbe..bc03053 100644 --- a/discord_bot.py +++ b/discord_bot.py @@ -61,7 +61,7 @@ async def get_friends(ctx): msg = '没有朋友' else: for friend in friends: - msg += f'{friend.name} {friend.steam_id}\n' + msg += f'{friend.name} {friend.steam_id} {friend.active}\n' await ctx.respond(content=msg) @bot.command(description='修改朋友信息', name='mod_friend')