SeaCogs/emoji/emoji.py

12 lines
381 B
Python
Raw Normal View History

2024-05-08 13:43:33 -04:00
import discord
from redbot.core import commands
class Emoji(commands.cog):
"""Retrieve information about emojis."""
@commands.hybrid_command()
async def emoji(self, ctx: commands.Context, emoji: discord.Emoji, ephemeral: bool = False) -> None:
"""Retrieve information about an emoji."""
await ctx.send(content=f"Emoji: {emoji}", ephemeral=ephemeral)