Converted tildebot to pinhook framework. Moved other things around. Util-ified stuff

This commit is contained in:
RussellChamp committed 2019-01-29 09:58:38 -05:00
1 parent bc102890b2
commit 5f1bf146c3
52 files changed
+141 -6679

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
#!/usr/bin/python3
import pinhook.plugin
from util import xkcdApropos
import util.xkcdApropos
@pinhook.plugin.register('!xkcd')
def xkcd_plugin(msg):
return pinhook.plugin.message(xkcdApropos.xkcd(msg.arg))
return pinhook.plugin.message(util.xkcdApropos.xkcd(msg.arg))