twitch integration addon
This commit is contained in:
parent
558d01b6aa
commit
e5a055c667
21 changed files with 1116 additions and 0 deletions
7
example/Button.gd
Normal file
7
example/Button.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends Button
|
||||
|
||||
func _pressed():
|
||||
%Gift.chat(%LineEdit.text)
|
||||
var channel : String = %Gift.channels.keys()[0]
|
||||
%Gift.handle_command(SenderData.new(%Gift.username, channel, %Gift.last_state[channel]), (":" + %LineEdit.text).split(" ", true, 1))
|
||||
%LineEdit.text = ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue