@@ -0,0 +1,733 @@
+import twython%0Aimport sys%0A%0A%0Aclass Plugin:%0A    def __init__(self, consumer_key, consumer_secret, access_token, access_secret):%0A        self.twitter = twython.Twython(consumer_key, consumer_secret, access_token, access_secret)%0A%0A    def on_command(self, bot, msg):%0A        person = None%0A        if len(sys.argv) %3E= 2:%0A            person = sys.argv%5B1%5D%0A        else:%0A            person = sys.stdin.read().strip()%0A%0A        if person:%0A            tweets = self.twitter.get_user_timeline(screen_name=person)%0A            for i, tweet in enumerate(tweets%5B:3%5D):%0A                print(%22%5B%7B0%7D%5D: %7B1%7D%22.format(i, tweet%5B%22text%22%5D))%0A        else:%0A            print(self.on_help(bot))%0A%0A    def on_help(self, bot):%0A        return %22Usage: twitter %3Cperson%3E%22%0A

Add twitter plugin