feat(discord_bot): Add friend's activity status to get_friends function

This commit is contained in:
Ching 2024-02-08 17:24:14 +08:00
parent 81fc0f28a6
commit b7af493d34

View File

@ -61,7 +61,7 @@ async def get_friends(ctx):
msg = '没有朋友' msg = '没有朋友'
else: else:
for friend in friends: 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) await ctx.respond(content=msg)
@bot.command(description='修改朋友信息', name='mod_friend') @bot.command(description='修改朋友信息', name='mod_friend')