mirror of
https://github.com/liyunze-coding/TwitchPlaysX.git
synced 2026-11-02 20:03:33 +00:00
now no longer process "up" from "what's up"
This commit is contained in:
parent
a2119a4ace
commit
5775ade979
2 changed files with 4 additions and 1 deletions
|
|
@ -81,6 +81,9 @@ class TwitchPlaysX:
|
||||||
elif char in self.keymap:
|
elif char in self.keymap:
|
||||||
compiled_chars.append({"control": char, "duration": self.key_duration})
|
compiled_chars.append({"control": char, "duration": self.key_duration})
|
||||||
|
|
||||||
|
else:
|
||||||
|
return []
|
||||||
|
|
||||||
return compiled_chars
|
return compiled_chars
|
||||||
|
|
||||||
def process_message(self, author, message, is_mod):
|
def process_message(self, author, message, is_mod):
|
||||||
|
|
|
||||||
2
main.py
2
main.py
|
|
@ -4,7 +4,7 @@ import platform
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
# SETTINGS
|
# SETTINGS
|
||||||
CHANNEL_NAME = "CHANNEL_NAME" # Twitch channel name
|
CHANNEL_NAME = "RythonDev" # Twitch channel name
|
||||||
KEY_DURATION = 500 # (milliseconds) duration of each key press
|
KEY_DURATION = 500 # (milliseconds) duration of each key press
|
||||||
KEY_DELAY = 0.1
|
KEY_DELAY = 0.1
|
||||||
X_LIMIT = 10 # (seconds) time limit for each command
|
X_LIMIT = 10 # (seconds) time limit for each command
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue