feat(discord_bot): Add friend's activity status to get_friends function
This commit is contained in:
parent
81fc0f28a6
commit
b7af493d34
@ -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')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user