modified help text
This commit is contained in:
parent
3f0163426f
commit
e0d2921018
3
bot.py
3
bot.py
|
@ -47,7 +47,8 @@ class Circles(teambot.Handler):
|
|||
self._bot.conn.privmsg(target,message)
|
||||
|
||||
if __name__=="__main__":
|
||||
chans = ['#chaos', '#lickthecheese', '#cminecraft', '#bots', '#mbgeneral']
|
||||
#chans = ['#chaos', '#lickthecheese', '#cminecraft', '#bots', '#mbgeneral']
|
||||
chans = ['#chaos'] # only go in chaos while under development
|
||||
bot = teambot.TeamBot(chans, "circles", "localhost", chandler=Circles)
|
||||
bot.start()
|
||||
|
||||
|
|
Binary file not shown.
|
@ -92,6 +92,6 @@ def circle(self, c,n,m):
|
|||
def init(self):
|
||||
self.registerCommand('circle', circle)
|
||||
self.registerCommand('c', circle)
|
||||
self.registerHelp('circle', 'circle <output type letter> <input><type letter>')
|
||||
self.registerHelp('circle', 'circle <output type letter> <input><type letter> - calculate mesurements of a circle. the valid types are r: radius, d: diameter, a: area, and c: circumference')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue