Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
QMasterMoo committed Nov 5, 2024
1 parent c79f227 commit 04e5f0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/workflows/jobs/twitch_to_slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
get_live_channels,
LiveChannelResult,
)
from workflows.repositories.slack import get_client, send_message
from workflows.util import parse_rfc3339_datetime

# TODO - this minute should come from run config, last - current
Expand Down Expand Up @@ -78,9 +79,9 @@ def send_recently_live_to_slack(
final_message_list = [header, *body_parts]
final_msg = "\n".join(final_message_list)

# slack_client = get_client(slack_oauth_token)
slack_client = get_client(slack_oauth_token)
print(final_msg)
# send_message(slack_client, slack_channel_id, message=final_msg)
send_message(slack_client, slack_channel_id, message=final_msg)


@app.command()
Expand Down

0 comments on commit 04e5f0c

Please sign in to comment.