Global Settings - Discord Bot section - Added a whitelist to allow bots to send commands to the server manager.

This commit is contained in:
Brett Hewitson 2021-12-16 12:56:26 +10:00
parent 213a90e072
commit 461221294a
27 changed files with 413 additions and 15 deletions

View file

@ -0,0 +1,15 @@
using System.Windows;
namespace ServerManagerTool.Common.Model
{
public class DiscordBotWhitelist : DependencyObject
{
public static readonly DependencyProperty BotIdProperty = DependencyProperty.Register(nameof(BotId), typeof(string), typeof(DiscordBotWhitelist), new PropertyMetadata(""));
public string BotId
{
get { return (string)GetValue(BotIdProperty); }
set { SetValue(BotIdProperty, value); }
}
}
}