From e0d2921018248bced1c94c780d49de65b749826a Mon Sep 17 00:00:00 2001 From: lickthecheese Date: Sat, 1 Feb 2020 11:08:27 -0500 Subject: [PATCH] modified help text --- bot.py | 3 ++- modules/__pycache__/circle.cpython-36.pyc | Bin 2380 -> 2386 bytes modules/circle.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 50ccda3..61671b0 100755 --- a/bot.py +++ b/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() diff --git a/modules/__pycache__/circle.cpython-36.pyc b/modules/__pycache__/circle.cpython-36.pyc index cace3bcad3a4bbd39efd670b680760166217b515..0acedddad06cff27643163db9772deffb331fb8e 100644 GIT binary patch delta 67 zcmX>jbV-QQn3tEUaG_~j!A4FOHpXR>{n*49btcbelbBq|Ce0YMc`BPIBd-(#5HNBu W@-T`pvP|B}ev>g~azDo&Mgaguo)8oO delta 80 zcmca4bVi8Nn3tD}d7)`s;zmvvHpWGh{n*4rG-?>Km}(ePn6j9GES6@*W+ukTHEc4B iew$~qi869aFaQA~2O|%o$mHGZHyNWRPvzLd$PWMpKN5og diff --git a/modules/circle.py b/modules/circle.py index 8c775c1..ffbc462 100644 --- a/modules/circle.py +++ b/modules/circle.py @@ -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 ') + self.registerHelp('circle', 'circle - calculate mesurements of a circle. the valid types are r: radius, d: diameter, a: area, and c: circumference')