Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W wxpy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 295
    • Issues 295
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Youfou
  • wxpy
  • Issues
  • #435
Closed
Open
Issue created Jan 30, 2020 by luckyvictor@luckyvictor

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

看似很簡單,但我試了各種方法都沒法給自己發訊息,總是收到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")
Assignee
Assign to
Time tracking