Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- token = 'TOKENID'
- whitelist = MY_TELEGRAM_ID,
- commands = {
- '/temp': '/opt/vc/bin/vcgencmd measure_temp',
- '/arp': 'arp -a',
- '/ifconfig': 'ifconfig',
- '/apstart': 'sudo service apache2 start',
- '/apstop': 'sudo service apache2 stop',
- '/reboot': 'sudo reboot',
- '/df': 'df -H',
- '/shutdown': 'sudo shutdown'
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement