我试着让我的机器人用discord.py邀请另一个机器人。对此有什么敬礼吗?感谢所有想帮我的人。那多保重!
@bot.command()
async def Invite(ctx, invite_link=None):
if invite_link == None:
await ctx.message.author.send(embed=discord.Embed(
title='**Syntax Error**',
description='**Please provide an invite Link!**',
color=discord.Color.red()
)
return
#Inviting function
#Doing stuff....发布于 2021-06-29 20:00:58
您只能使用从开发人员门户获得的链接将不和谐的机器人邀请到不和谐的服务器。此外,只有服务器管理员/所有者可以邀请机器人到不和谐的服务器。我希望这有助于并随时回复这条消息,以获得更多的支持!
https://stackoverflow.com/questions/68179934
复制相似问题