mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Changed whitelist to its own type
This commit is contained in:
parent
8c1908310e
commit
a74bc2dc78
5 changed files with 12 additions and 5 deletions
|
|
@ -612,7 +612,7 @@ namespace ServerManagerTool
|
|||
};
|
||||
if (Config.Default.DiscordBotWhitelist != null)
|
||||
{
|
||||
config.DiscordBotWhitelists = Config.Default.DiscordBotWhitelist.Cast<string>();
|
||||
config.DiscordBotWhitelist.AddRange(Config.Default.DiscordBotWhitelist.Cast<string>());
|
||||
}
|
||||
|
||||
await ServerManagerBotFactory.GetServerManagerBot().RunAsync(config, DiscordBotHelper.HandleDiscordCommand, DiscordBotHelper.HandleTranslation, _tokenSourceDiscordBot.Token);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue