Invite.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:CorpBot.py 作者: corpnewt 项目源码 文件源码
def invite(self, ctx):
        """Outputs a url you can use to invite me to your server."""
        myInvite = discord.utils.oauth_url(self.bot.user.id, permissions=discord.Permissions(permissions=8))
        await self.bot.send_message(ctx.message.channel, 'Invite me to *your* server with this link: \n\n{}'.format(myInvite))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号