Compare commits
No commits in common. "8f6afe754d257088aeabd5c697d902cd188b7a6f" and "d65d04fa7a8ed7e987ec8e8bfb7edc76806193c9" have entirely different histories.
8f6afe754d
...
d65d04fa7a
2 changed files with 2 additions and 25 deletions
|
@ -1,19 +0,0 @@
|
|||
# EmojiInfo
|
||||
|
||||
EmojiInfo allows you to nerdify other people's text.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
[p]repo add seacogs https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs
|
||||
[p]cog install seacogs emojiinfo
|
||||
[p]cog load emojiinfo
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
### emoji
|
||||
|
||||
- Usage: `[p]emoji <emoji> [ephemeral]`
|
||||
|
||||
Retrieve information about the provided emoji. If `ephemeral` is provided and the command is used as a slash command, the response will be sent as an ephemeral message.
|
|
@ -5,7 +5,7 @@ import aiohttp
|
|||
import discord
|
||||
from colorthief import ColorThief
|
||||
from red_commons.logging import RedTraceLogger, getLogger
|
||||
from redbot.core import app_commands, commands
|
||||
from redbot.core import commands
|
||||
from redbot.core.bot import Red
|
||||
from redbot.core.utils.chat_formatting import bold, humanize_list
|
||||
|
||||
|
@ -17,7 +17,7 @@ class EmojiInfo(commands.Cog):
|
|||
|
||||
__author__: list[str] = ["SeaswimmerTheFsh"]
|
||||
__version__: str = "1.0.0"
|
||||
__documentation__: str = "https://seacogs.coastalcommits.com/emojiinfo/"
|
||||
__documentation__: str = "https://seacogs.coastalcommits.com/emoji/"
|
||||
|
||||
def __init__(self, bot: Red) -> None:
|
||||
super().__init__()
|
||||
|
@ -54,10 +54,6 @@ class EmojiInfo(commands.Cog):
|
|||
return color
|
||||
|
||||
@commands.hybrid_command(name="emoji")
|
||||
@app_commands.describe(
|
||||
emoji="What emoji would you like to get information on?",
|
||||
ephemeral="Would you like the response to be hidden?"
|
||||
)
|
||||
async def emoji(self, ctx: commands.Context, emoji: str, ephemeral: bool = False) -> None:
|
||||
"""Retrieve information about an emoji."""
|
||||
await ctx.defer(ephemeral=ephemeral)
|
||||
|
|
Loading…
Add table
Reference in a new issue