Skip to content

Commit

Permalink
Update message
Browse files Browse the repository at this point in the history
  • Loading branch information
gesteves committed Dec 18, 2023
1 parent 7979c99 commit 4c3f970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ A Jeopardy! bot for Slack, powered by the [jService](http://jservice.io/) API. S

## Installation

Just click this button to add the bot to your Slack team:

<a href="https://slack.com/oauth/v2/authorize?client_id=20888890816.3331520890821&redirect_uri=https%3A%2F%2Fwww.trebekbot.com%2Fslack%2Fauth&scope=users%3Aread%2Capp_mentions%3Aread%2Cchat%3Awrite"><img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcSet="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" /></a>
Unfortunately, jService.io, which is the third-party service from which Trebekbot sourced the questions and answers, has shut down permanently. As such, Trebekbot no longer works and cannot be installed any more. Thanks for playing!

## Usage

Expand Down
2 changes: 1 addition & 1 deletion app/workers/start_game_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def perform(team_id, channel_id, user_id)
PostGameMessageWorker.perform_async(game.id)
EndGameWorker.perform_in(ENV['CONFIG_GAME_TIME_LIMIT'].to_i.seconds, game.id)
else
reply = "Apologies, but I can't reach jService.io at this time."
reply = "Unfortunately, jService.io, which is the third-party service from which Trebekbot sources the questions and answers, has shut down permanently. As such, Trebekbot will shut down on January 1st, 2024. Thanks for playing!"
PostMessageWorker.perform_async(reply, team_id, channel_id)
end
end
Expand Down

0 comments on commit 4c3f970

Please sign in to comment.