TwitchBot
Python Twitch bot created with twitchio
Install / Use
/learn @AdamMcWilliam/TwitchBotREADME
TwitchBot
Python Twitch bot created with twitchio for use in BeginWorld @ https://twitch.tv/beginbot
Resources Used:
Base setup following this tutorial: https://dev.to/ninjabunny9000/let-s-make-a-twitch-bot-with-python-2nd8
Using Python 3.7: https://www.python.org/downloads/release/python-370/
Google Spreadsheets API: https://developers.google.com/sheets/api/quickstart/python
You need to download and add credentials.json file from google and add to the working directory.
The live google spreadsheet being referred to below: https://docs.google.com/spreadsheets/d/1fR7O9sgzjfrYCJN2ITZzFYjHiSQUUf_DkuxsfbutZms/edit?usp=sharing
Commands:
! is what the bot expects for a command, I use an addtional ! in my custom commands to avoid bot confusion resulting in most commands being !!COMMANDS. I designed it this way as there is one command my bot watches for that is by another bot using only one !.
!!manifestozanussbot
- Outputs description of bot.
!!botcss
- Updates the css of the bot with link hardcoded.
!!propsme
- Outputs !props and the user who entered the command.
!!csstemplate
- Links a helpful css template for other users in BeginWorld.
!!donateme
- Outputs !donate and the user who entered the command.
!!propsall
- Outputs !props and the user who entered the command and the total streetcred that the bot currently has.
!!buyall
- The bot buys everything it can with !buy random and the total streetcred that the bot currently has.
!la_libre
- When anyone runs this command the bot will find the winning side and vote for it.
!cubed
- If beginbotbot uses this command the time is captured along with the timestamp of the message and is sent to be stored in a google spreadsheet.
!!act
- Pulls data from a specific cell in the google spreadsheet
!!dact
- Searches spreadsheet for all results of cube times on current day and calculates an average.
!!bestcube
- Searches spreadsheet times are returns the fastest one.
!!grovel
- Gives a use a point after 2 attempts, attempts logged in a created json file.
!!texttobinary [text]
- Converts given text to binary and outputs to chat
!!binarytotext [binary]
- Converts given binary to text and outputs to chat
!!zanussbotgit
- outputs a link to this repo
!!random [number] [number]
- outputs random number in range given.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
