extend mention policy usage a bit

This commit is contained in:
13xforever
2020-08-04 00:52:51 +05:00
parent 0f2f11d0f5
commit 72f1f774c7
5 changed files with 14 additions and 10 deletions

View File

@@ -84,7 +84,11 @@ namespace CompatBot
public static double GameTitleMatchThreshold => config.GetValue(nameof(GameTitleMatchThreshold), 0.57);
public static byte[] CryptoSalt => Convert.FromBase64String(config.GetValue(nameof(CryptoSalt), ""));
internal static readonly IMention[] AllowedMentions = { UserMention.All };
internal static class AllowedMentions
{
internal static readonly IMention[] UsersOnly = { UserMention.All };
internal static readonly IMention[] Nothing = { };
}
internal static string CurrentLogPath => Path.GetFullPath(Path.Combine(LogPath, "bot.log"));