diff --git a/mojo-rtm/mojo-rtm.py b/mojo-rtm/mojo-rtm.py index e87e616..9de3f3e 100644 --- a/mojo-rtm/mojo-rtm.py +++ b/mojo-rtm/mojo-rtm.py @@ -1,11 +1,6 @@ import os -import time -import slack -import pdb -import json import re - -from pathlib import Path +import slack EXAMPLE_COMMAND = "do" MENTION_REGEX = "^<@(|[WU].+)>(.*)" @@ -27,12 +22,14 @@ def reactable_string(text): """ reactable_array = [] if re.search(r"\bai\b", text.lower()) is not None: - reactable_array.append('ai') + reactable_array.append('ai') if 'furry' in text.lower() or 'furries' in text.lower() or 'fursuit' in text.lower(): - # no processing needed because: honestly its funnier even if it gets the word boundary wrong. + # no processing needed because: + # honestly its funnier even if it gets the word boundary wrong. reactable_array.append('furry') if 'flavor town' in text.lower() or 'flavortown' in text.lower() or 'guy fieri' in text.lower(): - # no processing needed because: honestly its funnier even if it gets the word boundary wrong. + # no processing needed because: + # honestly its funnier even if it gets the word boundary wrong. reactable_array.append('flavortown') return reactable_array