Jump to content

IRC Bot: Difference between revisions

From tmplab
Sameeg (talk | contribs)
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= MptBot =
Our ircbot is called Mptbot or tmpmpt and is a twist of the London Hack Space chanbot.
 
Mptbot is a twist of the London Hack Space chanbot.


== Mptbot is  ==
== Mptbot is  ==


* found has tmpmpt on freenode (#tmplab)
* found as user ''tmpmpt'' on freenode (#tmplab)
* accessed by private messaging
* accessed by private messaging, type help
* running in a 'screen' : type screen -r to reattach
* capable to tell if the lab light is on. Of course there is non public functions to override the automatic function.
* coded in python by sameeg, ask him if needed
* 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
* running on 10.255.0.6
* located at /opt/mptbot/
* located at /opt/mptbot/
* coming to IRC thanks to chanbot.py
* launched by python chanbot.py to test or using service scheme


== Mptbot has ==
== Mptbot has ==

Latest revision as of 18:53, 4 January 2015

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

Mptbot is

  • found as user 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