Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.33k stars 910 forks source link

Detect text typed in group chat? #362

Closed NightWheeler closed 11 years ago

NightWheeler commented 11 years ago

Hello, If there a way I can detect if someone has said a specific thing in group chat? In normal chat, we can use if(message.contains("")) function but how to check it in group chat? and if the function is same, which callback should I use? please help :3 Thanks :)

waylaidwanderer commented 11 years ago

Please see #307.

A hint to get you started in the right direction is to look at the functions in the user handler.

Jessecar96 commented 11 years ago

This doesn't have to do with SteamBot. A hint, check out SteamKit2

waylaidwanderer commented 11 years ago

No seriously though, the method needed is in the user handler itself.

Jesse Cardone notifications@github.com wrote:

This doesn't have to do with SteamBot. A hint, check out SteamKit2


Reply to this email directly or view it on GitHub: https://github.com/Jessecar96/SteamBot/issues/362#issuecomment-19943017