Slave ignores bot messages

This commit is contained in:
Jacob Henry 2019-04-04 23:07:06 -04:00
parent 8223192048
commit e92044980d
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ async def count_work_callback(event: slack_util.Event, match: Match) -> None:
if event.user is None:
return
# If bot, continue
if event.bot is not None:
return
# Make an error wrapper
verb = slack_util.VerboseWrapper(event)