KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
chatgpt-twitch-bot
★ 16
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
degatchi-website
:
No description available.
network-crawler
:
Python network scanner and an ARP spoofing script
nodebb-openai-chatgpt
:
No description available.
Sending-Current-Stock-Prices-With-LINE
:
透過 Python + GitHub 定時自動傳送即時股價 LINE 通知
ThousandSunny
:
personal website front-end
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
chatgpt-twitch-bot
?
Download (.md)
# ChatGPT Twitch Bot ## Prerequisites - NodeJS >= 18 ## Usage Firstly you need to install the required npm packages with `npm i` This bot is based on the chatgpt package from @transitive-bullshit We also use tmijs to communicate with the Twitch Channels After installing the required packages you need to populate the environment file with following variables - OPENAI_EMAIL= - OPENAI_PASSWORD= - TWITCH_NAME= - TWITCH_TOKEN= - TWITCH_CHANNEL= For the OPENAI Variables just put your credentials in, remember to log out from your browser before. For Twitch you can create an extra bot or connect from your main Account. You can get the TWITCH_TOKEN [here](https://twitchapps.com/tmi/) You can join any desired Twitch Channel by specifying it with TWITCH_CHANNEL variable. After all of that you can start the script with following line `npx tsx chatgpt-twitch-bot.ts` This will compile and run the typescript file on the fly A browser will open and ask you for a captcha solve it and only click once on the login button, the bot will do the rest. The bot will response when you type `!chatgpt what is the meaning of life?` Have fun with the bot! ## Known Problems You will run into a 429, if you ask chatgpt questions to fast. The people from the chatgpt package are working on that. Unfortunately you have to relog with the captcha on every failed request...