Server Manager Changes

1. Added Discord Bot section to Global Settings
2. Added Discord Bot section to Server Settings.
This commit is contained in:
Brett Hewitson 2021-12-04 14:36:34 +10:00
parent c5775181b3
commit a792b10253
20 changed files with 389 additions and 11 deletions

View file

@ -567,6 +567,16 @@ namespace ServerManagerTool.Lib
}
#endregion
#region Discord Bot
public static readonly DependencyProperty DiscordChannelIdProperty = DependencyProperty.Register(nameof(DiscordChannelId), typeof(string), typeof(ServerProfile), new PropertyMetadata(String.Empty));
[DataMember]
public string DiscordChannelId
{
get { return (string)GetValue(DiscordChannelIdProperty); }
set { SetValue(DiscordChannelIdProperty, value); }
}
#endregion
#region Server Files
public static readonly DependencyProperty ServerFilesBlacklistedProperty = DependencyProperty.Register(nameof(ServerFilesBlacklisted), typeof(PlayerUserList), typeof(ServerProfile), new PropertyMetadata(null));
[DataMember]