def search_error(self, error, ctx): if isinstance(error, commands.MissingRequiredArgument): await self.bot.say('Missing query to search for.')