Skip to content

Commit

Permalink
top command should skip inactive...badly
Browse files Browse the repository at this point in the history
  • Loading branch information
RheaAyase committed Jul 10, 2024
1 parent bb75cc1 commit d22edf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Karma.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public List<Command> Init(IValkyrjaClient iClient)
// !top
Command newCommand = new Command("top");
newCommand.Type = CommandType.Standard;
newCommand.Description = "Check how many cookies you've got.";
newCommand.Description = "List the top karma holders.";
newCommand.ManPage = new ManPage("[n]", "`[n]` - Optional argument specifying how many members with the highest count you would like to fetch. Default 5.");
newCommand.IsPremiumServerwideCommand = true;
newCommand.RequiredPermissions = PermissionType.Everyone;
Expand Down Expand Up @@ -63,7 +63,7 @@ public List<Command> Init(IValkyrjaClient iClient)
foreach( UserData userData in users )
{
if( i++ == n )
return;
break;

SocketGuildUser user = null;
if( (user = e.Server.Guild.GetUser(userData.UserId)) == null )
Expand Down

0 comments on commit d22edf9

Please sign in to comment.