shop.py 文件源码

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

项目:Jumper-Cogs 作者: Redjumpman 项目源码 文件源码
def _trade_shop(self, ctx, user: discord.Member, quantity: int, *, tradeoffer: str):
        """Request a trade with another user"""
        author = ctx.message.author
        tradeoffer = tradeoffer.title()
        settings = self.check_server_settings(author.server)
        self.user_check(settings, author)
        self.user_check(settings, user)
        result = self.trade_checks(settings, author, user, tradeoffer, quantity)
        if result != "OK":
            return await self.bot.say(result)
        await self.trade_handler(settings, user, author, tradeoffer, quantity)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号