fix: fixed extract_id being broken
This commit is contained in:
parent
c22ad4e506
commit
672aad720e
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class Galaxy(commands.Cog):
|
|||
async def coco_emoji(self, interaction: discord.Interaction, emoji: str = None):
|
||||
"""Sets Coco's emoji."""
|
||||
if emoji:
|
||||
emoji_id = self.extract_id(emoji)
|
||||
emoji_id = self.extract_id(input_string=emoji)
|
||||
try:
|
||||
emoji_obj = interaction.guild.fetch_emoji(emoji_id)
|
||||
except discord.NotFound or discord.HTTPException as error:
|
||||
|
|
Loading…
Reference in a new issue