mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Server Manager Changes
1. Added Discord Bot section to Global Settings 2. Added Discord Bot section to Server Settings.
This commit is contained in:
parent
c5775181b3
commit
a792b10253
20 changed files with 389 additions and 11 deletions
|
|
@ -289,6 +289,16 @@ namespace ServerManagerTool
|
|||
}
|
||||
}
|
||||
|
||||
private void DiscordBotApply_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Process.Start(Config.Default.DiscordBotApplyUrl);
|
||||
}
|
||||
|
||||
private void DiscordBotHelp_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Process.Start(Config.Default.DiscordBotHelpUrl);
|
||||
}
|
||||
|
||||
private void ComboBox_PreviewMouseWheel(object sender, MouseWheelEventArgs e)
|
||||
{
|
||||
var comboBox = sender as ComboBox;
|
||||
|
|
@ -326,6 +336,8 @@ namespace ServerManagerTool
|
|||
textBox = SteamAPIKeyTextBox;
|
||||
if (Equals(hideTextBox, HideEmailPasswordTextBox))
|
||||
textBox = EmailPasswordTextBox;
|
||||
if (Equals(hideTextBox, HideDiscordBotTokenTextBox))
|
||||
textBox = DiscordBotTokenTextBox;
|
||||
|
||||
if (textBox != null)
|
||||
{
|
||||
|
|
@ -349,6 +361,8 @@ namespace ServerManagerTool
|
|||
hideTextBox = HideSteamAPIKeyTextBox;
|
||||
if (textBox == EmailPasswordTextBox)
|
||||
hideTextBox = HideEmailPasswordTextBox;
|
||||
if (textBox == DiscordBotTokenTextBox)
|
||||
hideTextBox = HideDiscordBotTokenTextBox;
|
||||
|
||||
if (hideTextBox != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue