mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Added an alias that can be used with the discord command instead of the profile id.
This commit is contained in:
parent
440085f5d3
commit
327103182c
15 changed files with 507 additions and 283 deletions
|
|
@ -576,6 +576,14 @@ namespace ServerManagerTool.Lib
|
|||
set { SetValue(DiscordChannelIdProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty DiscordAliasProperty = DependencyProperty.Register(nameof(DiscordAlias), typeof(string), typeof(ServerProfile), new PropertyMetadata(String.Empty));
|
||||
[DataMember]
|
||||
public string DiscordAlias
|
||||
{
|
||||
get { return (string)GetValue(DiscordAliasProperty); }
|
||||
set { SetValue(DiscordAliasProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordBackupProperty = DependencyProperty.Register(nameof(AllowDiscordBackup), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordBackup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue