Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

完全沒有辦法給自己發訊息,求救 #435

Open
luckyvictor opened this issue Jan 30, 2020 · 0 comments
Open

完全沒有辦法給自己發訊息,求救 #435

luckyvictor opened this issue Jan 30, 2020 · 0 comments

Comments

@luckyvictor
Copy link

luckyvictor commented Jan 30, 2020

看似很簡單,但我試了各種方法都沒法給自己發訊息,總是收到error 1204,我已經把自己加了好友

收到error 1204

from wxpy import *

bot = Bot(console_qr=True, cache_path=True)
bot.self.send("Hello")

收到error 1204, 從print看到是找到自己的

from wxpy import *

bot = Bot(console_qr=True, cache_path=True)
my_friend = bot.friends().search(u'Victor')[0]
print(my_friend)
my_friend.send("Hello")

下面這次收到error 1,不能接受自己加自己好友

from wxpy import *

bot = Bot(console_qr=True, cache_path=True)
bot.self.add()
bot.self.accept()
bot.self.send("Hello")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant