mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 00:19:00 +03:00
Add description to /clear's author to clarify its functionality (#315)
Closes #314 What? The title speaks for itself.
This commit is contained in:
parent
daef4f1d48
commit
29a1eb9869
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ public sealed class ClearCommandGroup : CommandGroup
|
|||
public async Task<Result> ExecuteClear(
|
||||
[Description("Number of messages to remove (2-100)")] [MinValue(2)] [MaxValue(100)]
|
||||
int amount,
|
||||
[Description("Ignore messages except from the specified author")]
|
||||
IUser? author = null)
|
||||
{
|
||||
if (!_context.TryGetContextIDs(out var guildId, out var channelId, out var executorId))
|
||||
|
|
Loading…
Reference in a new issue