add examples
parent
604b2f878a
commit
fd9acc1358
|
@ -0,0 +1,4 @@
|
|||
import pinhook.bot
|
||||
|
||||
ph = pinhook.bot.Bot(['#arch-dev'], 'ph-bot', 'localhost', ops=['archangelic'])
|
||||
ph.start()
|
|
@ -0,0 +1,6 @@
|
|||
import pinhook.plugin
|
||||
|
||||
def test(**kwargs):
|
||||
return pinhook.plugin.message("Test")
|
||||
|
||||
pinhook.plugin.add_plugin('!test', test)
|
Loading…
Reference in New Issue