Skip to content

Commit

Permalink
Don't send "Starting session" message via webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
AntsyLich committed Feb 7, 2024
1 parent 27c2794 commit e47c036
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions webnovel.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ def __init__(self, proxy_url: Optional[str], webhook_url: Optional[str]):
if webhook_url:
self.__webhook = DiscordWebhook(url=webhook_url)

# Content contains ZERO WIDTH NON-JOINER (U+200C) characters to stop discord from trimming '\n'.
self.__send_webhook("‌\n\n\nSTARTING SESSION\n‌")

def __send_webhook(
self, content: str, embed_description: Optional[str] = None
) -> None:
Expand Down

0 comments on commit e47c036

Please sign in to comment.