I'm collecting a user's message with the client.wait_for command, and I wanted to know a way that I can identify if the message is an emoji (either default or custom). I've attempted to use guild.fetch_emoji and client.get_emoji in order to detect whether it is a proper emoji. Will I have to put the message through multiple functions?
while continue_function:
user_msg = await self.bot.wait_for('message', check=lambda message: message.author == ctx.author and message.channel == ctx.channel)
emoji = self.bot.get_emoji(user_msg.content)
emoji2 = ctx.guild.fetch_emoji(user_msg.content)
print(emoji,emoji2)