Custom Game Info Command?

PhantomBot Version: 3.0.0
OS Version: Windows 10 Pro x64
Java Version: Oracle JRE Version 8 Update 231
Browser and Version (for Panel Support): Latest Chrome Stable Release
Stock PhantomBot: Yes

I’m not sure if this is something already built in or possible with Phantombot. In its simplest form, I’d like:
Given a key input, return it’s paired value output in chat. Multiple keys to value is preferable but optional. So some sort of key-value database lookup of predetermined responses, if possible, with metadata pulled on hours played etc.

Example:
Twitch Chat User Input: !gameinfo League of Legends
Twitch Chat Bot Response: Info about League of Legends: Time Played: 1234 Hours, League game-specific response written by streamer here
Twitch Chat User Input: !gameinfo Counter-Strike: Global Offensive
Twitch Chat Bot Response: Info about League of Legends: Time Played: 5678 Hours, CSGO game-specific response written by streamer here

Sorry if this is the wrong place to put this - hoping it is something possible with the bot already without having to develop a custom module.

The data you seek is only stored for the duration of a single stream and then gets deleted when the stream ends at the moment and is not individually accessible the way you want with the available command tags. It is setup as a What games has the streamer played this session? kind of command.

This would require a custom script.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.