mirror of https://github.com/oliverbooth/VPLink
refactor: display user id, not session id, in /who command
This commit is contained in:
parent
25d725e1b3
commit
aaacb3027b
|
@ -41,12 +41,12 @@ internal sealed class WhoCommand : InteractionModuleBase<SocketInteractionContex
|
|||
{
|
||||
if (avatar.IsBot)
|
||||
{
|
||||
botsBuilder.AppendLine($"* {avatar.Name} ({avatar.Session})");
|
||||
botsBuilder.AppendLine($"* {avatar.Name} ({avatar.User.Id})");
|
||||
botCount++;
|
||||
}
|
||||
else
|
||||
{
|
||||
userBuilder.AppendLine($"* {avatar.Name} ({avatar.Session})");
|
||||
userBuilder.AppendLine($"* {avatar.Name} ({avatar.User.Id})");
|
||||
userCount++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue