Giter Site home page Giter Site logo

邀请入群 about wxpy HOT 6 CLOSED

youfou avatar youfou commented on April 28, 2024
邀请入群

from wxpy.

Comments (6)

youfou avatar youfou commented on April 28, 2024

需要传入单个用户对象,或用户对象的列表。而不是昵称或微信号。

from wxpy.

youfou avatar youfou commented on April 28, 2024

举个例子

my_friend = ensure_one(bot.search('某个人的名字'))
my_group.add_members(my_friend)

from wxpy.

misakichan avatar misakichan commented on April 28, 2024

非常感谢您这么及时的解答,已解决。
我是当时看您在知乎https://pic4.zhimg.com/v2-2043a6c577c2dc2ff92d49456ff15fc7_b.png里写的是user_name才导致理解错误,不知道是不是有问题

from wxpy.

youfou avatar youfou commented on April 28, 2024

图中代码并不是我写的…

from wxpy.

misakichan avatar misakichan commented on April 28, 2024

不好意思,想当然了~试了一下,是图中作者的问题。
顺便再问一下,用这个扫码登录后选择cache_path=True。然后使用embed阻塞,是不是只要电脑不关,就可以一直保活。微信那边有超时session过期的说法吗

from wxpy.

youfou avatar youfou commented on April 28, 2024

目前看,掉线通常与网络稳定性和机器人行为有关。
有些行为异常的可能会被踢下线。
我这边至少24小时没问题,没有试过很久的,因为经常更新代码重启测试。

from wxpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.