How do I make a selfbot join a server?(如何让 selfbot 加入服务器?)
问题描述
我希望我的 selfbot 使用/summon [invite] 等命令通过邀请加入服务器.
I want my selfbot to join servers by an invite by using a command such as /summon [invite].
我曾尝试使用接受邀请功能,但似乎不起作用.
I have tried to use the accept invite function but it didn't seem to be working.
client.accept_invite()
它不会返回任何错误或任何东西.
It doesn't return any errors or anything.
推荐答案
不能,Client 对象.
You can't, there is no method to accept any sort of invite under Client object.
我认为这是设计使然,原因在答案之一的评论中说明了 这里.
And I would suppose this is by design, as the reason is stated in the comments of one of the answer here.
...因为这将允许机器人随机"加入公会.只要机器人可以访问邀请链接,它就可以接受并进入任何公会.即使具有基本的阅读消息权限,这意味着该公会内的所有对话现在都可能在不知不觉中被记录...
...Because this would allow bots to "randomly" join guilds. So long as the bot has access to an invite link it would be able to accept and get into any guild. Even with basic read message permissions this means that all conversation within that guild could now be logged unknowingly ...
TLDR;防止恶意使用机器人.
TLDR; To prevent malicious usage of bots.
示例:
一个 bot 创建者制作了 10 个 bot,使用 accept_invite 方法邀请它们进入受害服务器.然后将它们全部编码以在目标服务器的每个聊天中开始发送垃圾邮件.
Example:
A bot-creator made 10 bots, used an accept_invite method to invite them into a victim server. Then coded them all to start spamming in every chat of the targeted server.
这篇关于如何让 selfbot 加入服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何让 selfbot 加入服务器?
基础教程推荐
- 每次设置弹出窗口的焦点 2022-01-01
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
