via PiMyLifeUp
The bot we will be showing you how to write is rather simple in nature but can be adapted to being quite a powerful and versatile bot. The basics we will be explaining and showing you how to write is a simple bot that will connect into Twitch’s IRC (Internet Relay Chat) chat.
Once connected the bot will continually receive all messages and scan for any that matches our ban pattern if any match the pattern it will automatically ban them from the server. You can also use this to timeout a user or post a message to the chat when a specific phrase is used.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
No comments:
Post a Comment