Ported banterbot to pinhook framework and some other changes

This commit is contained in:
RussellChamp committed 2019-01-25 11:16:19 -05:00
1 parent 0627b4a9e3
commit bc102890b2
39 files changed
+1629 -507

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/python3
import pinhook.plugin
from util import tumblr
@pinhook.plugin.register('!kjp')
def kjp_plugin(msg):
return pinhook.plugin.message(tumblr.tumble("http://kingjamesprogramming.tumblr.com"))
@pinhook.plugin.register('!help')
def help_plugin(msg):
return pinhook.plugin.message(tumblr.tumble("http://thedoomthatcametopuppet.tumblr.com"))