fixs my f up
This commit is contained in:
parent
108578656b
commit
293d39f1c8
2 changed files with 1 additions and 9 deletions
|
|
@ -67,7 +67,7 @@ namespace BetterSecondBot.DiscordSupervisor
|
|||
|
||||
protected override void login_bot(bool self_keep_alive)
|
||||
{
|
||||
if (controler != null)
|
||||
if (controler == null)
|
||||
{
|
||||
controler = new CliExitOnLogout(myconfig, running_as_docker, self_keep_alive);
|
||||
controler.Bot.setDiscordClient(DiscordClient);
|
||||
|
|
|
|||
|
|
@ -39,14 +39,6 @@ namespace BetterSecondBot.DiscordSupervisor
|
|||
{
|
||||
reply = " " + reply;
|
||||
}
|
||||
if(reply == DiscordBotStatus_laststatus)
|
||||
{
|
||||
reply = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
DiscordBotStatus_laststatus = reply;
|
||||
}
|
||||
if(HasBasicBot() == true)
|
||||
{
|
||||
controler.Bot.LastStatusMessage = controler.Bot.GetStatus();
|
||||
|
|
|
|||
Loading…
Reference in a new issue