def star_show_error(self, error, ctx):
if isinstance(error, commands.CommandOnCooldown):
if checks.is_owner_check(ctx.message):
await ctx.invoke(self.star_show)
else:
await self.bot.say(error)
elif isinstance(error, commands.BadArgument):
await self.bot.say('That is not a valid message ID. Use Developer Mode to get the Copy ID option.')
评论列表
文章目录