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)
评论列表
文章目录