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