Questions tagged [twitch]

Twitch is a live streaming service and global community for content spanning gaming, entertainment, music, sports, and more. Use this tag for questions related to the Twitch API, Extensions, Drops, or EventSub.

Official Twitch Links

Twitch API on GitHub

821 questions
-1
votes
1 answer

PHP get Twitch account stream key

I would like to know how I get and generate a new stream key from my twitch.tv account. $clientId = ""; $clientSecret = ""; $channelName = ""; $channelId = ""; $url = "https://id.twitch.tv/oauth2/token"; $data = array( "client_id" =>…
-1
votes
1 answer

get if streamer is on Stream

I'm making a Twitch and Discord bot, but now I have a problem. I want to check if the streamer is live and send a console.log() if it is live, but I am not able to do that. require("dotenv").config(); const Discord = require('discord.js'); const {…
-1
votes
1 answer

Twitch bot with node.js

Im new to node and tried to make a simple twitch chat bot with node.js following a youtube tutorial but everything works untill i try to use "!" command... I use the command and the bot simply doesnt respond to the command. Here is what i have so…
-1
votes
1 answer

Twitch Whisper Bot Doesn't Sending Whispers - Python

`I'm a begginer in python, so I'm learning how to send whispers using a bot, to help my friend. I've do a research and and I arrived at the following code. `HOST = 'irc.twitch.tv' PORT = 6667 USER = 'bot name' PASS = 'oauth:xxxxxxxxxx' CHAN =…
Margoni
  • 1
  • 1
-1
votes
1 answer

Twitch m3u8 url viewers limit?

So my question is i am extracting m3u8 url of twitch live stream using a website and copy that url into my android application where users can view that stream using a video player of my app within my app. Problem is that after running for a few…
Salman Ali
  • 169
  • 1
  • 4
-1
votes
1 answer

How to add javascript header to node js built index.html

So I'm trying to make a working React app into a Twitch Extension (I don't need any twitch integration). The only thing to make it work with Twitch's iframes is add a tag in the html file
user1289479
  • 291
  • 4
  • 16
-1
votes
1 answer

Multithreading for a socket connection in python

I'm trying to scrape really hectic twitch chats for keywords but sometimes the socket stops for a split second, but in that split second, 5 messages can go by. I thought of implementing some multithreading but no luck in the code below. It seems…
frankied003
  • 466
  • 6
  • 26
-1
votes
1 answer

Append Data to specific Value in .json-File + cleanup json-Method

I just started building my own Twitch Bot with Python. Now I wanted to build an voting funktion. I push the Data into an .json File because I need to access the Data from an Web-Interface to control the Voting (set Questions, activate/de-activate,…
-1
votes
1 answer

CSS Scale Text Based on Username Length

I stream on Twitch, and I have an overlay below my facecam that displays the username of somebody who's interacted with my stream recently. Whenever a username is too long to fit in the aforementioned facecam overlay it gets pushed halfway off the…
-1
votes
1 answer

Creating a cooldown system that works individually per user and not for the command itself Twitch/Node/TMI

Hi I’ve been working on a bot and wanted to make a cooldown for the user for 10 mins if they use the command again I created this system that works as a cooldown but for all users how would I make it for only the user of the command and have it be…
Zoren Singh
  • 310
  • 2
  • 8
-1
votes
1 answer

Twitch Bot unable to send messages to other channels (Exception of 1 account being able to)

So I’m trying to make a bot for twitch, through irc (pIRC on java) and I’m having issues. I only seem to be able to send messages to the user's own channel. Except for one account, which can send messages to any channel for some reason. Every…
user1021085
  • 729
  • 3
  • 10
  • 28
-1
votes
1 answer

How to prevent bot from spamming embeds? Discord.py

I have discord bot and it checks whether streamer is live or not. And I have a function that prevents it from spamming when someone is live: if status is True: async for message in channel.history(limit=2000): …
Dweller
  • 15
  • 1
  • 9
-1
votes
1 answer

No overload for 'SendMsgBtn' matches delegate 'EventHandler'

I'm trying to finish off the twitch iRC Bot i did a year ago, but never did because of this i asking for help on this, and yes i know i can't have more than 2 parameters but atleast help thanks, i need the "msg" parameter to send a message. …
-1
votes
1 answer

How can you find out which extensions a twitch streamer is using?

How can you check which extensions a twitch streamer is using? For example, extensions used when creating their 'About' page, or when running custom codes (e.g. !event) during a stream
stevec
  • 41,291
  • 27
  • 223
  • 311
-1
votes
1 answer

Twitch discord.py bot

Hello I'm trying to code a bot with discord.py to notify my discord server when I'm in stream, but I don't know how to do it. Can anyone help me? Thanks @bot.event async def on_voice_state_update(member, prev, cur): if prev.channel and…
Dipo3
  • 33
  • 5