Skip to content

Instantly share code, notes, and snippets.

iyl iyll

Block or report user

Report or block iyll

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iyll
iyll / main.py
Created Apr 24, 2017 — forked from littlecodersh/main.py
Main script behind itchat robot
View main.py
#coding=utf8
import itchat
# tuling plugin can be get here:
# https://github.com/littlecodersh/EasierLife/tree/master/Plugins/Tuling
from tuling import get_response
@itchat.msg_register('Text')
def text_reply(msg):
if u'作者' in msg['Text'] or u'主人' in msg['Text']:
return u'你可以在这里了解他:https://github.com/littlecodersh'
@iyll
iyll / WechatSmartWish.py
Created Apr 30, 2017 — forked from littlecodersh/WechatSmartWish.py
Demo of sending smart wishes through wechat.
View WechatSmartWish.py
#coding=utf8
import itchat, time
SINCERE_WISH = u'%s新年快乐!'
REAL_SINCERE_WISH = u'%s新年快乐!!'
def send_wishes():
friendList = itchat.get_friends(update=True)[1:]
for friend in friendList:
# 如果不是演示目的,把下面的方法改为itchat.send即可
View testNote.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.