Skip to content

Commit e64ed7b

Browse files
jtr109littlecodersh
authored andcommitted
fix(readme): add an import of TEXT (#318)
1 parent c8ef672 commit e64ed7b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ import itchat
207207
newInstance = itchat.new_instance()
208208
newInstance.auto_login(hotReload=True, statusStorageDir='newInstance.pkl')
209209

210-
@newInstance.msg_register(TEXT)
210+
@newInstance.msg_register(itchat.content.TEXT)
211211
def reply(msg):
212212
return msg.text
213213

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ You may use the following commands to open multi instance.
206206
newInstance = itchat.new_instance()
207207
newInstance.auto_login(hotReload=True, statusStorageDir='newInstance.pkl')
208208
209-
@newInstance.msg_register(TEXT)
209+
@newInstance.msg_register(itchat.content.TEXT)
210210
def reply(msg):
211211
return msg['Text']
212212

README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ import itchat
207207
newInstance = itchat.new_instance()
208208
newInstance.auto_login(hotReload=True, statusStorageDir='newInstance.pkl')
209209

210-
@newInstance.msg_register(TEXT)
210+
@newInstance.msg_register(itchat.content.TEXT)
211211
def reply(msg):
212212
return msg['Text']
213213

0 commit comments

Comments
 (0)