Created
August 19, 2014 09:38
-
-
Save kb10uy/fafd4ec8ecf4e252308b to your computer and use it in GitHub Desktop.
黒歴史収集bot「レコツイ」にワンクリックぐらいで送信するメニューをついかする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
import clr | |
from System import * | |
from System.Collections.Generic import * | |
from System.Text import * | |
from System.Text.RegularExpressions import * | |
from System.IO import * | |
clr.AddReferenceByPartialName("CoreTweet") | |
from CoreTweet import * | |
from CoreTweet.Streaming import * | |
Name="recotw一発登録プラグイン" | |
k=Kbtter4 | |
def RegisterToRecotw(st): | |
k.UpdateStatus("@recotw https://twitter.com/"+st.User.ScreenName+"/status/"+st.Id.ToString()+" from Kbtter4 recotw-Plugin") | |
k.AddStatusMenu("@recotwに黒歴史として送信",RegisterToRecotw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment