forked from adam/discord-bot-shtik
who needs verbosity as a filter level - you have a char limit
This commit is contained in:
parent
e7b70468ae
commit
e89c109970
@ -13,7 +13,6 @@ public class ChannelPermissions
|
||||
public bool? ReactionsPossible { get; set; }
|
||||
public Enumerations.LewdnessFilterLevel? LewdnessFilterLevel { get; set; }
|
||||
public Enumerations.MeannessFilterLevel? MeannessFilterLevel { get; set; }
|
||||
public Enumerations.VerbosityFilterLevel? VerbosityFilterLevel { get; set; }
|
||||
|
||||
internal DefinitePermissionSettings Definite()
|
||||
{
|
||||
@ -24,7 +23,6 @@ public class ChannelPermissions
|
||||
LinksAllowed = this.LinksAllowed ?? false,
|
||||
LewdnessFilterLevel = this.LewdnessFilterLevel ?? Enumerations.LewdnessFilterLevel.G,
|
||||
MeannessFilterLevel = this.MeannessFilterLevel ?? Enumerations.MeannessFilterLevel.Strict,
|
||||
VerbosityFilterLevel = this.VerbosityFilterLevel ?? Enumerations.VerbosityFilterLevel.Pithy,
|
||||
ReactionsPossible = this.ReactionsPossible ?? false
|
||||
};
|
||||
}
|
||||
|
@ -26,15 +26,6 @@ public static class Enumerations
|
||||
[Description("387.44m mi of printed circuits")]
|
||||
Unrestricted
|
||||
}
|
||||
public enum VerbosityFilterLevel
|
||||
{
|
||||
[Description("stfu")]
|
||||
Quiet,
|
||||
[Description("pithy")]
|
||||
Pithy,
|
||||
[Description("you want text i'll GIVE you text")]
|
||||
Unrestricted
|
||||
}
|
||||
|
||||
public static string GetDescription<T>(this T enumerationValue)
|
||||
where T : struct
|
||||
|
Loading…
Reference in New Issue
Block a user