Correct grammar for switches (#491)
This commit is contained in:
parent
fa625612ba
commit
9fdb2f36be
@ -48,9 +48,12 @@ public class Switch
|
||||
|
||||
if (members.Count == 0)
|
||||
await ctx.Reply($"{Emojis.Success} Switch-out registered.");
|
||||
else
|
||||
else if (members.Count == 1)
|
||||
await ctx.Reply(
|
||||
$"{Emojis.Success} Switch registered. Current fronter is now {string.Join(", ", members.Select(m => m.NameFor(ctx)))}.");
|
||||
else
|
||||
await ctx.Reply(
|
||||
$"{Emojis.Success} Switch registered. Current fronters are now {string.Join(", ", members.Select(m => m.NameFor(ctx)))}.");
|
||||
}
|
||||
|
||||
public async Task SwitchMove(Context ctx)
|
||||
@ -150,8 +153,10 @@ public class Switch
|
||||
// Tell the user the edit suceeded
|
||||
if (members.Count == 0)
|
||||
await ctx.Reply($"{Emojis.Success} Switch edited. The latest switch is now a switch-out.");
|
||||
else
|
||||
if (members.Count == 1)
|
||||
await ctx.Reply($"{Emojis.Success} Switch edited. Current fronter is now {newSwitchMemberStr}.");
|
||||
else
|
||||
await ctx.Reply($"{Emojis.Success} Switch edited. Current fronters are now {newSwitchMemberStr}.");
|
||||
}
|
||||
|
||||
public async Task SwitchDelete(Context ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user