Difference between revisions of "IRC Bot"

From Tmplab
(Mptbot is)
(Mptbot is)
Line 5: Line 5:
 
* found has tmpmpt on freenode (#tmplab)
 
* found has tmpmpt on freenode (#tmplab)
 
* accessed by private messaging, type help
 
* accessed by private messaging, type help
* capable to tell if the light is on. Of course there is non public functions to override the automatic function.
+
* capable to tell if the lab light is on. Of course there is non public functions to override the automatic function.
 
* run on a Raspberry for low electrical footprint.
 
* run on a Raspberry for low electrical footprint.
 
* using service scheme running in a 'screen' : type screen -r to reattach / ctrl A d to dettach.
 
* using service scheme running in a 'screen' : type screen -r to reattach / ctrl A d to dettach.

Revision as of 16:27, 1 January 2015

Our ircbot is called Mptbot or tmpmpt and is a twist of the London Hack Space chanbot.

Mptbot is

  • found has tmpmpt on freenode (#tmplab)
  • accessed by private messaging, type help
  • capable to tell if the lab light is on. Of course there is non public functions to override the automatic function.
  • run on a Raspberry for low electrical footprint.
  • using service scheme running in a 'screen' : type screen -r to reattach / ctrl A d to dettach.
  • launched by 'python chanbot.py' to test your own
  • a chanbot.py with additionnal code by sameeg, ask him if needed.
  • running on 10.255.0.6
  • located at /opt/mptbot/

Mptbot has

  • a few commands you can edit, improve in commands.py
  • a few sh scripts for its service functionnality