Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: System Commands some or all are empty #102

Merged
merged 3 commits into from
Jul 16, 2019

Conversation

yorambi
Copy link
Contributor

@yorambi yorambi commented Jan 11, 2018

When System Commands are empty Telegram show command buttons that fails.
server:
systemShutdownCommand
serverRestartCommand
systemRestartCommand

When System Commands are empty Telegram show command buttons that fails.
server: 
    systemShutdownCommand
    serverRestartCommand
    systemRestartCommand
else:
message_text = " No known System Commands."
message = self.gEmo('info') + message_text

keys.append([["Reboot System","/sys_sys_Reboot System"],["Shutdown System","/sys_sys_Shutdown System"]])
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this add the reboot and shutdown command, which were added in L299, again?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You correct had to remove the two lines...

@rlogiacco rlogiacco merged commit bd77f24 into fabianonline:master Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants