问题
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.
回答1:
Bots cannot have friends
https://discordapp.com/developers/#bot-vs-user-accounts
Bot accounts have a few differences in comparison to normal user accounts, namely:
Bots are added to guilds through the OAuth2 API, and cannot accept normal invites.
Bots cannot have friends, nor be added to or join Group DMs.
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.
来源:https://stackoverflow.com/questions/52355348/is-there-any-way-to-send-a-friend-request-with-discord-py