Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit d63c6fa

Browse files
OoLunarInstellate
authored andcommitted
Grammar
1 parent efa6af5 commit d63c6fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Commands/BlockCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public static Task ListAsync(CommandContext context)
4646
0 => context.ReplyAsync("You don't have any users blocked."),
4747
1 => context.ReplyAsync($"You have blocked <@{blockedUsers[0]}>."),
4848
2 => context.ReplyAsync($"You blocked <@{blockedUsers[0]}> and <@{blockedUsers[1]}>."),
49-
_ => context.ReplyAsync(FormatChannelMentions(blockedUsers))
49+
_ => context.ReplyAsync(FormatUserMentions(blockedUsers))
5050
};
5151
}
5252

53-
private static string FormatChannelMentions(IEnumerable<ulong> userIds)
53+
private static string FormatUserMentions(IEnumerable<ulong> userIds)
5454
{
5555
StringBuilder builder = new();
5656
builder.AppendLine("You've blocked the following users:");

src/Commands/IgnoreCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace NotifierRedirecter.Commands;
1414
public sealed class IgnoreCommand : BaseCommand
1515
{
1616
[Command("add"), Description("Disable notifications from me.")]
17-
public static Task AddAsync(CommandContext context, [Description("Which channel to stop receiving notifications in. If empty, I'll stop sending notifications entirely")] DiscordChannel? channel = null)
17+
public static Task AddAsync(CommandContext context, [Description("Which channel to stop receiving notifications in. If empty, I'll stop sending notifications entirely.")] DiscordChannel? channel = null)
1818
{
1919
if (Program.Database.IsIgnoredUser(context.User.Id, context.Guild!.Id, channel?.Id))
2020
{
@@ -32,7 +32,7 @@ public static Task AddAsync(CommandContext context, [Description("Which channel
3232
}
3333

3434
[Command("remove"), Description("Enable notifications from me.")]
35-
public static Task RemoveAsync(CommandContext context, [Description("Which channel to start receiving notifications in. If empty, I'll start sending notifications again")] DiscordChannel? channel = null)
35+
public static Task RemoveAsync(CommandContext context, [Description("Which channel to start receiving notifications in. If empty, I'll start sending notifications again.")] DiscordChannel? channel = null)
3636
{
3737
if (!Program.Database.IsIgnoredUser(context.User.Id, context.Guild!.Id, channel?.Id))
3838
{

0 commit comments

Comments
 (0)