Skip to content

Commit 96ddf88

Browse files
committed
Update argument description of commands that accept users
1 parent 482bf03 commit 96ddf88

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Commands/BanCmds.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public async Task MassBanCmd(TextCommandContext ctx, [RemainingText] string inpu
207207
[AllowedProcessors(typeof(TextCommandProcessor))]
208208
[HomeServer, RequireHomeserverPerm(ServerPermLevel.Moderator), RequirePermissions(permissions: DiscordPermission.BanMembers)]
209209
public async Task BanCmd(TextCommandContext ctx,
210-
[Description("The user you wish to ban. Accepts many formats")] DiscordUser targetMember,
210+
[Description("The user you wish to ban. Should be a mention or ID.")] DiscordUser targetMember,
211211
[RemainingText, Description("The time and reason for the ban. e.g. '14d trolling' NOTE: Add 'appeal' to the start of the reason to include an appeal link")] string timeAndReason = "No reason specified.")
212212
{
213213

@@ -294,7 +294,7 @@ public async Task BanCmd(TextCommandContext ctx,
294294
[Description("Bans a user but keeps their messages around."), HomeServer, RequireHomeserverPerm(ServerPermLevel.Moderator), RequirePermissions(permissions: DiscordPermission.BanMembers)]
295295
[AllowedProcessors(typeof(TextCommandProcessor))]
296296
public async Task BankeepCmd(TextCommandContext ctx,
297-
[Description("The user you wish to ban. Accepts many formats")] DiscordUser targetMember,
297+
[Description("The user you wish to ban. Should be a mention or ID.")] DiscordUser targetMember,
298298
[RemainingText, Description("The time and reason for the ban. e.g. '14d trolling' NOTE: Add 'appeal' to the start of the reason to include an appeal link")] string timeAndReason = "No reason specified.")
299299
{
300300
bool appealable = false;

Commands/WarningCmds.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ await ctx.FollowupAsync(new DiscordFollowupMessageBuilder().WithContent($"{Progr
363363
]
364364
public async Task WarnCmd(
365365
TextCommandContext ctx,
366-
[Description("The user you are warning. Accepts many formats.")] DiscordUser targetUser,
366+
[Description("The user you are warning. Should be a mention or ID..")] DiscordUser targetUser,
367367
[RemainingText, Description("The reason for giving this warning.")] string reason = null
368368
)
369369
{
@@ -411,7 +411,7 @@ public async Task WarnCmd(
411411
public async Task AnonWarnCmd(
412412
TextCommandContext ctx,
413413
[Description("The channel you wish for the warning message to appear in.")] DiscordChannel targetChannel,
414-
[Description("The user you are warning. Accepts many formats.")] DiscordUser targetUser,
414+
[Description("The user you are warning. Should be a mention or ID..")] DiscordUser targetUser,
415415
[RemainingText, Description("The reason for giving this warning.")] string reason = null
416416
)
417417
{
@@ -450,7 +450,7 @@ public async Task AnonWarnCmd(
450450
]
451451
public async Task WarningCmd(
452452
TextCommandContext ctx,
453-
[Description("The user you want to look up warnings for. Accepts many formats.")] DiscordUser targetUser = null
453+
[Description("The user you want to look up warnings for. Should be a mention or ID..")] DiscordUser targetUser = null
454454
)
455455
{
456456
if (targetUser is null)
@@ -468,7 +468,7 @@ public async Task WarningCmd(
468468
]
469469
public async Task DelwarnCmd(
470470
TextCommandContext ctx,
471-
[Description("The user you're removing a warning from. Accepts many formats.")] DiscordUser targetUser,
471+
[Description("The user you're removing a warning from. Should be a mention or ID..")] DiscordUser targetUser,
472472
[Description("The ID of the warning you want to delete.")] long warnId
473473
)
474474
{
@@ -514,7 +514,7 @@ await LogChannelHelper.LogMessageAsync("mod",
514514
]
515515
public async Task WarnlookupCmd(
516516
TextCommandContext ctx,
517-
[Description("The user you're looking at a warning for. Accepts many formats.")] DiscordUser targetUser,
517+
[Description("The user you're looking at a warning for. Should be a mention or ID..")] DiscordUser targetUser,
518518
[Description("The ID of the warning you want to see")] long warnId
519519
)
520520
{
@@ -535,7 +535,7 @@ public async Task WarnlookupCmd(
535535
]
536536
public async Task WarnDetailsCmd(
537537
TextCommandContext ctx,
538-
[Description("The user you're looking up detailed warn information for. Accepts many formats.")] DiscordUser targetUser,
538+
[Description("The user you're looking up detailed warn information for. Should be a mention or ID..")] DiscordUser targetUser,
539539
[Description("The ID of the warning you're looking at in detail.")] long warnId
540540
)
541541
{
@@ -563,7 +563,7 @@ public async Task WarnDetailsCmd(
563563
]
564564
public async Task EditwarnCmd(
565565
TextCommandContext ctx,
566-
[Description("The user you're editing a warning for. Accepts many formats.")] DiscordUser targetUser,
566+
[Description("The user you're editing a warning for. Should be a mention or ID..")] DiscordUser targetUser,
567567
[Description("The ID of the warning you want to edit.")] long warnId,
568568
[RemainingText, Description("The new reason for the warning.")] string newReason)
569569
{

0 commit comments

Comments
 (0)