Skip to content

Commit

Permalink
remove backticks from embed
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroquinc committed May 30, 2024
1 parent c0fd9f9 commit 013799d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sonarr/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
async def process_webhook(handler, channel):
def build_grab_embed():
embed = EmbedBuilder(title=handler.embed_title, color=0x9e7a18)
embed.add_field(name="Release", value=f"```{handler.release_title}```", inline=False)
embed.add_field(name="Release", value=f"{handler.release_title}", inline=False)
embed.add_field(name="Custom Formats", value=f"{Formatter.format_custom_formats(handler.custom_format_score, handler.custom_formats)}", inline=False)
embed.set_thumbnail(url=handler.poster)
embed.set_author(name="A new grab by Sonarr", icon_url=SONARR_ICON)
Expand Down
2 changes: 1 addition & 1 deletion utils/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ def indexer_value(release_indexer):

@staticmethod
def format_custom_formats(custom_format_score, custom_formats):
return f"```Score: {custom_format_score}\nFormat: {', '.join(custom_formats)}```"
return f"Score: {custom_format_score}\nFormat: {', '.join(custom_formats)}"

0 comments on commit 013799d

Please sign in to comment.