Added a checkbox to allow all bots.

This commit is contained in:
Brett Hewitson 2021-12-17 14:09:47 +10:00
parent 13713b7092
commit 06551d3c8e
22 changed files with 137 additions and 50 deletions

View file

@ -2,8 +2,10 @@
namespace ServerManagerTool.DiscordBot.Models
{
public class DiscordBotWhitelistConfig
public class DiscordBotConfig
{
public bool AllowAllBots { get; set; } = false;
public List<DiscordBotWhitelist> DiscordBotWhitelists { get; set; } = new List<DiscordBotWhitelist>();
}
}