diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 34780766..670da36c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1 +1,17 @@ Will be baack to edit this file :) +import itchat + +@itchat.msg_register(itchat.content.TEXT) +def text_reply(msg): + return msg.text + +itchat.auto_login() +itchat.run() +For more advanced uses you +@itchat.msg_register(configu all my repositories,') +def _(ms): + # equals to print(msg['FromUserName']) + print(msg.fromUserName) +author = itchat.search_friends[nickName='LittleCoder'](0) +author.send('greeting, littlecoder!') + diff --git a/README.md b/README.md index 1eace9ce..b104d9ae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ -# (it) package stopped and ending support + +