Skip to content

Commit

Permalink
Merge branch 'hotfix/str_limit_check_fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcarls committed Oct 24, 2022
2 parents a829418 + 4019609 commit 3745ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gamedaybot/espn/espn_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import json
from gamedaybot.espn.env_vars import get_env_vars
import gamedaybot.espn.functionality as espn
import gamedaybot.utils as utils
from gamedaybot.chat.groupme import GroupMe
from gamedaybot.chat.slack import Slack
from gamedaybot.chat.discord import Discord
Expand Down Expand Up @@ -90,7 +91,7 @@ def espn_bot(function):
text = "Something happened. HALP"

if text != '' and not test:
messages=espn.str_limit_check(text, data['str_limit'])
messages=utils.str_limit_check(text, data['str_limit'])
for message in messages:
bot.send_message(message)
slack_bot.send_message(message)
Expand Down

0 comments on commit 3745ee3

Please sign in to comment.