Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import supybot.utils as utils
- from supybot.commands import *
- import supybot.plugins as plugins
- import supybot.ircutils as ircutils
- import supybot.callbacks as callbacks
- class Testi(callbacks.Plugin):
- """Add the help for "@plugin help Testi" here
- This should describe *how* to use this plugin."""
- def __init__(self, irc):
- self.__parent = super(Twitter, self)
- self.__parent.__init__(irc)
- def post(self, irc, msg, args, text):
- """takes no arguments
- Testi Testi.
- """
- irc.reply(text)
- post = wrap(post, ['text'])
- Class = Testi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement