forked from cswimr/SeaCogs
11 lines
381 B
Python
11 lines
381 B
Python
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)
|