Skip to content

Commit

Permalink
bug fix on format
Browse files Browse the repository at this point in the history
  • Loading branch information
NNTin committed Nov 4, 2020
1 parent 7273540 commit 91b4d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/utils/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,13 +401,13 @@ def send_message(self, wh_url):
if self.discord_config.get("CreateEmbed", True):
webhook.send(
embed=self.embed,
content=self.discord_config.get("custom_message", None).format(
content=self.discord_config.get("custom_message", "").format(
user=self.user, text=self.text, url=self.url
),
)
else:
webhook.send(
content=self.discord_config.get("custom_message", None).format(
content=self.discord_config.get("custom_message", "").format(
user=self.user, text=self.text, url=self.url
)
)
Expand Down

0 comments on commit 91b4d3f

Please sign in to comment.