mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 21:16:49 +00:00
feat: add more options for when to make proxied messages silent
This commit is contained in:
parent
952bb02285
commit
546a287c28
9 changed files with 71 additions and 14 deletions
|
|
@ -9,5 +9,18 @@ public class GuildConfig
|
|||
public bool LogCleanupEnabled { get; }
|
||||
public bool InvalidCommandResponseEnabled { get; }
|
||||
public bool RequireSystemTag { get; }
|
||||
public bool SuppressNotifications { get; }
|
||||
public SuppressCondition SuppressNotifications { get; }
|
||||
|
||||
public enum SuppressCondition
|
||||
{
|
||||
Never = 0,
|
||||
Always = 1,
|
||||
Match = 2,
|
||||
Invert = 3,
|
||||
}
|
||||
}
|
||||
|
||||
public static class GuildConfigExt
|
||||
{
|
||||
public static string ToUserString(this GuildConfig.SuppressCondition val) => val.ToString().ToLower();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue