Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. token = 'TOKENID'
  2. whitelist = MY_TELEGRAM_ID,
  3. commands = {
  4. '/temp': '/opt/vc/bin/vcgencmd measure_temp',
  5. '/arp': 'arp -a',
  6. '/ifconfig': 'ifconfig',
  7. '/apstart': 'sudo service apache2 start',
  8. '/apstop': 'sudo service apache2 stop',
  9. '/reboot': 'sudo reboot',
  10. '/df': 'df -H',
  11. '/shutdown': 'sudo shutdown'
  12. ...
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement