diff options
Diffstat (limited to 'client/modules')
| -rw-r--r-- | client/modules/HN.py | 2 | ||||
| -rw-r--r-- | client/modules/News.py | 2 | ||||
| -rw-r--r-- | client/modules/Unclear.py | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/client/modules/HN.py b/client/modules/HN.py index 692abea..493fa1d 100644 --- a/client/modules/HN.py +++ b/client/modules/HN.py @@ -7,6 +7,8 @@ from semantic.numbers import NumberService WORDS = ["HACKER", "NEWS", "YES", "NO", "FIRST", "SECOND", "THIRD"] +PRIORITY = 4 + URL = 'http://news.ycombinator.com' diff --git a/client/modules/News.py b/client/modules/News.py index 0cedd3a..59495a3 100644 --- a/client/modules/News.py +++ b/client/modules/News.py @@ -5,6 +5,8 @@ from semantic.numbers import NumberService WORDS = ["NEWS", "YES", "NO", "FIRST", "SECOND", "THIRD"] +PRIORITY = 3 + URL = 'http://news.ycombinator.com' diff --git a/client/modules/Unclear.py b/client/modules/Unclear.py index 39f56d0..23ab2ed 100644 --- a/client/modules/Unclear.py +++ b/client/modules/Unclear.py @@ -1,7 +1,10 @@ +from sys import maxint import random WORDS = [] +PRIORITY = -(maxint + 1) + def handle(text, mic, profile): """ |
