diff --git a/plugins/8ball.py b/plugins/8ball.py index e69b95a..392c333 100755 --- a/plugins/8ball.py +++ b/plugins/8ball.py @@ -36,7 +36,7 @@ answers = [g + "As I see it, yes", @hook.command('8ball') def eightball(inp, me=None): - ".8ball -- The all knowing magic eight ball, "\ + ".8ball -- The all knowing magic eight ball, " \ "in electronic form. Ask and it shall be answered!" global nextresponsenumber inp = inp.strip() diff --git a/plugins/bf.py b/plugins/bf.py index e51500b..32e9f3c 100755 --- a/plugins/bf.py +++ b/plugins/bf.py @@ -10,6 +10,7 @@ from util import hook BUFFER_SIZE = 5000 MAX_STEPS = 1000000 + @hook.command('brainfuck') @hook.command def bf(inp): diff --git a/plugins/choose.py b/plugins/choose.py index 62e87d7..1ba5b2e 100755 --- a/plugins/choose.py +++ b/plugins/choose.py @@ -6,7 +6,7 @@ from util import hook @hook.command def choose(inp): - ".choose , [choice2], [choice3], [choice4], ... -- "\ + ".choose , [choice2], [choice3], [choice4], ... -- " \ "Randomly picks one of the given choices." c = re.findall(r'([^,]+)', inp) diff --git a/plugins/dice.py b/plugins/dice.py index d5aff31..dd2ee2f 100755 --- a/plugins/dice.py +++ b/plugins/dice.py @@ -37,7 +37,7 @@ def nrolls(count, n): #@hook.regex(valid_diceroll, re.I) @hook.command def dice(inp): - ".dice -- Simulates dicerolls. Example of :" + ".dice -- Simulates dicerolls. Example of :" \ " '.dice 2d20-d5+4 roll 2'. D20s, subtract 1D5, add 4" try: # if inp is a re.match object... diff --git a/plugins/gitio.py b/plugins/gitio.py index 3aa825d..6c5c8fa 100755 --- a/plugins/gitio.py +++ b/plugins/gitio.py @@ -5,7 +5,7 @@ import urllib2 @hook.command def gitio(inp): - ".gitio [code] -- Shorten Github URLs with git.io. [code] is" + ".gitio [code] -- Shorten Github URLs with git.io. [code] is" \ " a optional custom short code." split = inp.split(" ") url = split[0] diff --git a/plugins/quote.py b/plugins/quote.py index dd1680b..6553018 100755 --- a/plugins/quote.py +++ b/plugins/quote.py @@ -115,7 +115,7 @@ def get_quote_by_chan(db, chan, num=False): @hook.command def quote(inp, nick='', chan='', db=None, notice=None): ".quote [#chan] [nick] [#n]/.quote add -- Gets " \ - "random or [#n]th quote by or from <#chan>/adds quote." + "random or [#n]th quote by or from <#chan>/adds quote." create_table_if_not_exists(db) add = re.match(r"add[^\w@]+(\S+?)>?\s+(.*)", inp, re.I) diff --git a/plugins/weather.py b/plugins/weather.py index 9f6193d..daff1df 100755 --- a/plugins/weather.py +++ b/plugins/weather.py @@ -5,8 +5,8 @@ from util import hook, http @hook.command(autohelp=False) def forecast(inp, nick='', server='', reply=None, db=None, notice=None, say=None): - ".forecast [dontsave] -- Gets a weather forecast "\ - "for from Google." + ".forecast [dontsave] -- Gets a weather forecast" \ + " for from Google." loc = inp dontsave = loc.endswith(" dontsave")