Made slave less spammy
This commit is contained in:
parent
0bb05b406b
commit
6990185736
|
|
@ -33,6 +33,7 @@ def count_work_callback(slack, msg, match):
|
|||
|
||||
# Three: check if we found anything
|
||||
if len(new_work) == 0:
|
||||
if re.search(r'\s\d\s', text) is not None:
|
||||
slack_util.reply(slack, msg, "No work recognized. Use words {} or work will not be recorded".format(counted_data))
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue