Discord Bot Fixes/Changes

- Fixed the discord bot Info command, to release the profile once the command has finished running.
- added new checkbox to allow the profile to be included in discord commands using the Cluster Id as the alias.
- pt-BR Translation file updated.
This commit is contained in:
Brett Hewitson 2022-04-23 13:42:25 +10:00
parent 3de08392eb
commit ac438da337
12 changed files with 151 additions and 143 deletions

View file

@ -960,6 +960,14 @@ namespace ServerManagerTool.Lib
set { SetValue(DiscordAliasProperty, value); }
}
public static readonly DependencyProperty AllowDiscordClusterAliasProperty = DependencyProperty.Register(nameof(AllowDiscordClusterAlias), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
[DataMember]
public bool AllowDiscordClusterAlias
{
get { return (bool)GetValue(AllowDiscordClusterAliasProperty); }
set { SetValue(AllowDiscordClusterAliasProperty, value); }
}
public static readonly DependencyProperty AllowDiscordBackupProperty = DependencyProperty.Register(nameof(AllowDiscordBackup), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
[DataMember]
public bool AllowDiscordBackup