Remove return value from sending webhook notif

This commit is contained in:
Deko
2023-03-04 11:11:33 +01:00
parent eca4ab3f6b
commit 400373b2a8

View File

@@ -14,7 +14,7 @@ class DiscordClient:
def send_information_to_discord(
self, stream: StreamInformation, profile_image: str
) -> str:
) -> None:
logger.info("Sending a message with an embed to the webhook...")
streamer_url = f"https://www.twitch.tv/{stream.user_login}"
response = requests.post(
@@ -56,7 +56,6 @@ class DiscordClient:
self._notification_msg_id = response.json()["id"]
logger.info("Stream information sent with ping to Discord.")
return self._notification_msg_id
def update_information_on_discord(
self, stream: StreamInformation, profile_image: str