Initial Commit
Initial commit of Code Base.
This commit is contained in:
parent
293b1213e1
commit
c11a4ebbc2
653 changed files with 36893 additions and 1 deletions
25
addons/twitcher/chat/twitch_command_info.gd
Normal file
25
addons/twitcher/chat/twitch_command_info.gd
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
extends RefCounted
|
||||
|
||||
## Meta information about the command sender
|
||||
class_name TwitchCommandInfo
|
||||
|
||||
|
||||
var command : TwitchCommand
|
||||
var channel_name : String
|
||||
var username : String
|
||||
var arguments : Array[String]
|
||||
## Depending on the type it's either a TwitchChatMessage or a Dictionary of the whisper message data
|
||||
var original_message : Variant
|
||||
|
||||
|
||||
func _init(
|
||||
_command: TwitchCommand,
|
||||
_channel_name: String,
|
||||
_username: String,
|
||||
_arguments: Array[String],
|
||||
_original_message: Variant):
|
||||
command = _command
|
||||
channel_name = _channel_name
|
||||
username = _username
|
||||
arguments = _arguments
|
||||
original_message = _original_message
|
||||
Loading…
Add table
Add a link
Reference in a new issue