Clean up after myself

This commit is contained in:
Robert Miles 2018-12-15 01:19:47 -05:00
parent 6a4adfec57
commit 3807407b46
1 changed files with 2 additions and 7 deletions

9
bot.py
View File

@ -1,10 +1,7 @@
import teambot, sys, traceback, requests, random, words, imp, plugin, os
from titlecase import titlecase
import teambot, sys, traceback, imp, plugin, os
BOTOP = "~minerobber@127.0.0.1"
PREFIX = "!"
HELP = dict(admin="GO AWAY YOU DINKLEBERG",rollcall="hmmst",mbtilde="<ask/add/sub/mult/div/alphabetize/pow/unscramble> [args]",note="<target> <message>",backronym="<word to backronym>",stevenuniverse="<help/fake-leak> [args]")
HELP["su"]=HELP["stevenuniverse"]
class MinerbotPhoenix(teambot.Handler):
def load_module(self,modname):
@ -34,9 +31,7 @@ class MinerbotPhoenix(teambot.Handler):
traceback.print_exc()
if __name__=="__main__":
words.loadDict("words")
# print(list(filter(lambda x: x.startswith("on_"),dir(MinerbotPhoenix))))
channels = "#khuxkm-bots".split()
channels = "#bots".split()
bot = teambot.TeamBot(channels,"minerbot","localhost",chandler=MinerbotPhoenix)
for name in os.listdir("plugins"):
if name.endswith(".py"):