有什么方法可以通过discord.py发送好友请求? [英] Is there any way to send a friend request with discord.py?
问题描述
我想将不和谐的bot添加到群聊中,而我知道的唯一方法是首先将其添加为朋友.如何使漫游器发送好友请求?我很确定有可能.
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帐户与普通用户相比有一些差异帐户,即:
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发送好友请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!