hooks/sys

hooks/sys

Source:

This folder contains some system hooks

Members

(static) help :Object

Source:

Respond to /help command, sending to Telegram a list of defined local hooks commands

Type:
  • Object

(static) import_commands :Object

Source:

Respond to /import_commands command, sending to Telegram a list of defined local hooks commands for easy BotFather importing.
Just copy result and paste into BotFather after a /setcommands

Type:
  • Object

(static) reboot :Object

Source:

Reboot the server or device after confirmation

Type:
  • Object

(static) shutdown :Object

Source:

Shutdown the server or device after confirmation

Type:
  • Object

(static) start :Object

Source:

Respond to /start command

Type:
  • Object