Twitchbot for raffles

i hope i am in the right place. i have created a simple chatbot. with this i can login to channels and detect PRIVMSG and WHISPER. can you give me an approach (or help) how to build some kind of gift bot?
my goal is that viewer with a defined word whisper the bot.
the bot then selects a viewer from all whispers.
the choosen viewer is whispered with a text.
the choosen viewer is tagged in the public chat

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