SHARE
TWEET

Untitled

a guest May 19th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import supybot.utils as utils
  2. from supybot.commands import *
  3. import supybot.plugins as plugins
  4. import supybot.ircutils as ircutils
  5. import supybot.callbacks as callbacks
  6.  
  7.  
  8. class Testi(callbacks.Plugin):
  9.     """Add the help for "@plugin help Testi" here
  10.     This should describe *how* to use this plugin."""
  11.  
  12.     def __init__(self, irc):
  13.         self.__parent = super(Twitter, self)
  14.         self.__parent.__init__(irc)
  15.  
  16.     def post(self, irc, msg, args, text):
  17.         """takes no arguments
  18.  
  19.         Testi Testi.
  20.         """
  21.  
  22.         irc.reply(text)
  23.     post = wrap(post, ['text'])
  24.    
  25.  
  26. Class = Testi
RAW Paste Data
Top