fix: fixed broken newline characters in Autoreact
This commit is contained in:
parent
f0890e4829
commit
cd75c785e6
1 changed files with 2 additions and 2 deletions
|
@ -72,10 +72,10 @@ class Galaxy(commands.Cog):
|
||||||
autoreact_target = await self.config.guild(ctx.guild).autoreact_target()
|
autoreact_target = await self.config.guild(ctx.guild).autoreact_target()
|
||||||
if self.check_if_discord_unicode_emoji(emoji_id) is True:
|
if self.check_if_discord_unicode_emoji(emoji_id) is True:
|
||||||
emoji = emoji_id
|
emoji = emoji_id
|
||||||
embed = discord.Embed(color=await self.bot.get_embed_color(None), description=f"Autoreact is currently set to target <@{autoreact_target}> ({autoreact_target}).\Autoreact's emoji is currently set to {emoji}.")
|
embed = discord.Embed(color=await self.bot.get_embed_color(None), description=f"Autoreact is currently set to target <@{autoreact_target}> ({autoreact_target}).\nAutoreact's emoji is currently set to {emoji}.")
|
||||||
else:
|
else:
|
||||||
emoji = self.bot.get_emoji(emoji_id)
|
emoji = self.bot.get_emoji(emoji_id)
|
||||||
embed = discord.Embed(color=await self.bot.get_embed_color(None), description=f"Autoreact is currently set to target <@{autoreact_target}> ({autoreact_target}).\Autoreact's emoji is currently set to {emoji} ({await self.config.guild(ctx.guild).autoreact_emoji()}).")
|
embed = discord.Embed(color=await self.bot.get_embed_color(None), description=f"Autoreact is currently set to target <@{autoreact_target}> ({autoreact_target}).\nAutoreact's emoji is currently set to {emoji} ({await self.config.guild(ctx.guild).autoreact_emoji()}).")
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
autoreact = app_commands.Group(name='autoreact', guild_only=True, description="This group handles the autoreact functionality.")
|
autoreact = app_commands.Group(name='autoreact', guild_only=True, description="This group handles the autoreact functionality.")
|
||||||
|
|
Loading…
Reference in a new issue