Data Object - AnkhHeart/Streamlabs-Chatbot-Python-Boilerplate GitHub Wiki
Variables
| Variable |
Usage |
| string User |
data.User |
| string UserName |
data.UserName |
| string Message |
data.Message |
| string RawData |
data.RawData |
| string ServiceType |
data.ServiceType |
| string ServiceType |
data.ServiceType |
Functions
Check if The Incoming Data is a Chat Message
Function
bool IsChatMessage()
Use in Python
result = data.IsChatMessage()
Check if The Incoming Data is Raw unparsed data
Function
bool IsRawData()
Use in Python
result = data.IsRawData()
Check if The Message came from Twitch Chat
Function
bool IsFromTwitch()
Use in Python
result = data.IsFromTwitch()
Check if The Message came from Youtube Chat
Function
bool IsFromYoutube()
Use in Python
result = data.IsFromYoutube()
Check if The Message came from Mixer Chat
Function
bool IsFromMixer()
Use in Python
result = data.IsFromMixer()
Check if The Message came from Discord
Function
bool IsFromDiscord()
Use in Python
result = data.IsFromDiscord()
Check if The Message is a Whisper / DM
Function
bool IsWhisper()
Use in Python
result = data.IsWhisper()
Retrieve a Parameter at the specified index
Function
string GetParam(int id)
Use in Python
result = data.GetParam(0)
Retrieve the total amount of parameters
Function
string GetParamCount()
Use in Python
result = data.GetParamCount()