diff --git a/src/NadekoBot/Modules/Xp/Club/Club.cs b/src/NadekoBot/Modules/Xp/Club/Club.cs index 067812726..d8333c132 100644 --- a/src/NadekoBot/Modules/Xp/Club/Club.cs +++ b/src/NadekoBot/Modules/Xp/Club/Club.cs @@ -175,14 +175,16 @@ public partial class Xp var club = _service.GetClubWithBansAndApplications(ctx.User.Id); if (club is null) - return ReplyErrorLocalizedAsync(strs.club_not_exists_owner); + return ReplyErrorLocalizedAsync(strs.club_admin_perms); var bans = club.Bans.Select(x => x.User).ToArray(); return ctx.SendPaginatedConfirmAsync(page, _ => { - var toShow = string.Join("\n", bans.Skip(page * 10).Take(10).Select(x => x.ToString())); + var toShow = string.Join("\n", bans + .Skip(page * 10).Take(10) + .Select(x => x.ToString())); return _eb.Create() .WithTitle(GetText(strs.club_bans_for(club.ToString()))) @@ -201,7 +203,7 @@ public partial class Xp var club = _service.GetClubWithBansAndApplications(ctx.User.Id); if (club is null) - return ReplyErrorLocalizedAsync(strs.club_not_exists_owner); + return ReplyErrorLocalizedAsync(strs.club_admin_perms); var apps = club.Applicants.Select(x => x.User).ToArray(); diff --git a/src/NadekoBot/data/strings/responses/responses.en-US.json b/src/NadekoBot/data/strings/responses/responses.en-US.json index fac3e5c83..fa6881d5b 100644 --- a/src/NadekoBot/data/strings/responses/responses.en-US.json +++ b/src/NadekoBot/data/strings/responses/responses.en-US.json @@ -879,7 +879,6 @@ "start_event_fail": "Event failed to start. Another event is running, or there was an error starting the event.", "event_title": "{0} event started!", "poll_closed": "Poll Closed!", - "club_not_exists_owner": "You are not the owner or the admin of the club.", "club_admin_add": "{0} is now a club admin.", "club_admin_remove": "{0} is no longer club admin.", "club_admin_error": "Error. You are either not the owner of the club, or that user is not in your club.",