問題描述
我希望我的 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 加入服務器?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!