Merge branch 'master' of github.com:sfan5/minetestbot-modules

master
Sfan5 2013-10-25 22:17:15 +02:00
commit 72316c0f5f
1 changed files with 29 additions and 1 deletions

View File

@ -73,4 +73,32 @@ def git(phenny, input):
u = ""
phenny.say(u + "someone thinks you need to brush up on or learn Git, please go to: http://git-scm.com/book/")
git.commands = ['git']
git.commands = ['git']
def stfu(phenny, input):
"""usage: !stfu [nick]"""
for x in phenny.bot.commands["high"].values():
if x[0].__name__ == "aa_hook":
if x[0](phenny, input):
return
if input.group(2):
u = input.group(2).strip() + ", "
else:
u = ""
phenny.say(u + "someone thinks you need to shut the fuck up before you get muted.")
stfu.commands = ['stfu']
def proc(phenny, input):
"""usage: !proc [nick]"""
for x in phenny.bot.commands["high"].values():
if x[0].__name__ == "aa_hook":
if x[0](phenny, input):
return
if input.group(2):
u = input.group(2).strip() + ", "
else:
u = ""
phenny.say(u + "someone thinks you need to stop procrastinating.")
proc.commands = ['proc']