mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Bot cleanup
Language file updates
This commit is contained in:
parent
e72f5fb28f
commit
40b85340ae
21 changed files with 258 additions and 129 deletions
|
|
@ -1,11 +1,20 @@
|
|||
using System.Collections.Generic;
|
||||
using ServerManagerTool.DiscordBot.Enums;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ServerManagerTool.DiscordBot.Models
|
||||
{
|
||||
public class DiscordBotConfig
|
||||
{
|
||||
public LogLevel LogLevel { get; set; } = LogLevel.Info;
|
||||
|
||||
public string DiscordToken { get; set; } = string.Empty;
|
||||
|
||||
public string CommandPrefix { get; set; } = string.Empty;
|
||||
|
||||
public string DataDirectory { get; set; } = string.Empty;
|
||||
|
||||
public bool AllowAllBots { get; set; } = false;
|
||||
|
||||
public List<DiscordBotWhitelist> DiscordBotWhitelists { get; set; } = new List<DiscordBotWhitelist>();
|
||||
public IEnumerable<string> DiscordBotWhitelists { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
namespace ServerManagerTool.DiscordBot.Models
|
||||
{
|
||||
public class DiscordBotWhitelist
|
||||
{
|
||||
public string BotId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue