Put !played in your chat bot
Somebody in chat always wants to know whether he has played a game, and a link pasted into Twitch chat rarely gets through. A bot's reply does. Add one command and the answer shows up in chat, where the question was asked.
The command
Type the line for your bot into chat as a moderator. After that anyone can type !played and a game name.
Nightbot
!commands add !played $(urlfetch https://hascaseohplayed.com/api/answer?q=$(querystring))StreamElements
!command add !played $(customapi https://hascaseohplayed.com/api/answer?q=$(queryencode ${1:}))Fossabot
!addcmd played $(customapi https://hascaseohplayed.com/api/answer?q=$(querystring))To call it something else, change the word played in the line and leave the rest alone.
What chat gets back
One line each time, under 200 characters, ending in a caseplayed.com address. That is the short name for this site, and it opens the game's page with the dates and the episodes.
- !played granny gets
Yes: CaseOh has played Granny 24 times, most recently Oct 3 2026. caseplayed.com/granny
- !played gran could be several games, so it gets
Closest matches: Granny, Granny 3, Granny: Chapter Two. caseplayed.com/browse?q=gran
- A game that was seen on stream but has not been checked yet comes back as Spotted, never as a yes.
- A game that is not in the index gets
Nothing on record
and the address of the wishlist.
Worth knowing
- It only answers when someone uses the command. It never posts by itself.
- The reply never repeats what the viewer typed, so nobody can use the command to make your bot post a link or ping the channel.
- The same question gets the same answer for a minute. A bot that asks more than 60 times in a minute is told
Slow down a moment.
until it eases off. - It is not tied to those three bots. Anything that can fetch a web address and post the text can use it, a Discord bot included: the address is
https://hascaseohplayed.com/api/answer?q=followed by the game name. - If you put the answer somewhere else, say it came from hascaseohplayed.com.