misc: temporarily added something to a str

This commit is contained in:
Seaswimmer 2023-08-08 10:55:54 -04:00
parent 578a28e3b5
commit b1dbdd06dc
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -132,7 +132,7 @@ class Galaxy(commands.Cog):
emoji_id = self.extract_id(input_string=emoji) emoji_id = self.extract_id(input_string=emoji)
emoji_obj = self.bot.get_emoji(emoji_id) emoji_obj = self.bot.get_emoji(emoji_id)
if emoji_obj is None: if emoji_obj is None:
await interaction.response.send_message(content="You're trying to set the coco emoji to an emoji I don't have access to!", ephemeral=True) await interaction.response.send_message(content=f"You're trying to set the coco emoji to an emoji I don't have access to!\n{emoji_id}", ephemeral=True)
return return
await self.config.guild(interaction.guild).cocoemoji.set(emoji_obj.id) await self.config.guild(interaction.guild).cocoemoji.set(emoji_obj.id)
embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco's emoji has been set to {emoji_obj} ({emoji_obj.id}).") embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco's emoji has been set to {emoji_obj} ({emoji_obj.id}).")