1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 08:23:35 +03:00

Add description to /clear's author to clarify its functionality

This commit is contained in:
Macintxsh 2024-05-31 11:14:41 +05:00
parent daef4f1d48
commit 62c8124395
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1

View file

@ -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))