問題描述
我想在群聊中添加一個不和諧機器人,我知道的唯一方法是先將它們添加為朋友.如何讓機器人發送好友請求?我很確定這是可能的.
I want to add a discord bot to a group chat, and the only way I know how is to add them as a friend first. How do I make a bot send a friend request? I'm pretty sure its possible.
推薦答案
機器人不能有朋友
https://discordapp.com/developers/#bot-vs-user-帳戶
機器人帳戶與普通用戶相比有一些不同之處帳戶,即:
Bot accounts have a few differences in comparison to normal user accounts, namely:
機器人通過 OAuth2 API 添加到公會,不能接受普通邀請.
Bots are added to guilds through the OAuth2 API, and cannot accept normal invites.
機器人不能有朋友,也不能添加或加入群組 DM.
機器人沒有最大數量的公會(與用戶帳戶不同,限制為 100 個).
Bots do not have a maximum number of Guilds (unlike user accounts, which are limited to 100).
機器人有一套完全獨立的速率限制.
Bots have an entirely separate set of?Rate Limits.
這篇關于有沒有辦法用 discord.py 發送好友請求?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!