1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-04 04:56:30 +03:00

Add filtering by message author to /clear (#169)

Closes #164 

This PR adds an optional argument to `/clear` - `author` of type User.

If the user is specified, only messages sent by that user will be
cleared. Simple as that.
This commit is contained in:
Octol1ttle 2023-10-17 17:20:58 +05:00 committed by GitHub
parent 687883bbf8
commit b30d690113
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 56 additions and 5 deletions

View file

@ -980,5 +980,21 @@ namespace Octobot {
return ResourceManager.GetString("GuildInfoBoostCount", resourceCulture);
}
}
internal static string NoMessagesToClear
{
get
{
return ResourceManager.GetString("NoMessagesToClear", resourceCulture);
}
}
internal static string MessagesClearedFiltered
{
get
{
return ResourceManager.GetString("MessagesClearedFiltered", resourceCulture);
}
}
}
}