Fixed invocation message. No longer triggers on everything

Doubled default delay
This commit is contained in:
Jacob Henry 2016-11-29 23:57:47 +00:00
parent aa15cd33b0
commit fc26a1418f
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@ waiton_pattern = re.compile("^waiton")
scroll_pattern = re.compile("^scroll")
true_scroll_pattern = re.compile("^truescroll")
housejob_pattern = re.compile("^(house)?job")
kong_pattern = re.compile("")
kong_pattern = re.compile("^kong")
def main():
#Init slack

View File

@ -4,6 +4,7 @@ from SlackUtil import reply
from time import sleep
DEFAULT_SONG = "dk_rap_classic"
DEFAULT_DELAY = 2000
#Patterns
patterns = {}
@ -25,7 +26,7 @@ class SongThread(threading.Thread):
super().__init__()
self.song_name = song_name
self.callback = callback
self.delay = 1000
self.delay = DEFAULT_DELAY
self.daemon = True
def run(self):