File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ import itchat
207207newInstance = itchat.new_instance()
208208newInstance.auto_login(hotReload = True , statusStorageDir = ' newInstance.pkl' )
209209
210- @newInstance.msg_register (TEXT )
210+ @newInstance.msg_register (itchat.content. TEXT )
211211def reply (msg ):
212212 return msg.text
213213
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ import itchat
207207newInstance = itchat.new_instance()
208208newInstance.auto_login(hotReload = True , statusStorageDir = ' newInstance.pkl' )
209209
210- @newInstance.msg_register (TEXT )
210+ @newInstance.msg_register (itchat.content. TEXT )
211211def reply (msg ):
212212 return msg[' Text' ]
213213
You can’t perform that action at this time.
0 commit comments