mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
Some performance and code optimizations (#955)
* upgrade deps, remove wrong ppu hashes * upgrade compiler packages will require container pull after build * replace Regex with compiler-generated versions * use new collection initialization syntax * configure global defaults for regex * bump min amd driver version fixes #950 * add macos version check fixes #948 * fix #954 (!sudo log date)
This commit is contained in:
@@ -96,8 +96,8 @@ internal static class Config
|
||||
|
||||
internal static class AllowedMentions
|
||||
{
|
||||
internal static readonly IMention[] UsersOnly = { UserMention.All };
|
||||
internal static readonly IMention[] Nothing = Array.Empty<IMention>();
|
||||
internal static readonly IMention[] UsersOnly = [UserMention.All];
|
||||
internal static readonly IMention[] Nothing = [];
|
||||
}
|
||||
|
||||
internal static string CurrentLogPath => Path.GetFullPath(Path.Combine(LogPath, "bot.log"));
|
||||
|
||||
Reference in New Issue
Block a user