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:
parent
687883bbf8
commit
b30d690113
5 changed files with 56 additions and 5 deletions
16
src/Messages.Designer.cs
generated
16
src/Messages.Designer.cs
generated
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue