From 40196092214e43ceb2bd529d7a9341b8fe3b286c Mon Sep 17 00:00:00 2001 From: dtcarls Date: Mon, 24 Oct 2022 14:55:50 -0400 Subject: [PATCH] fix wrong function call --- gamedaybot/espn/espn_bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gamedaybot/espn/espn_bot.py b/gamedaybot/espn/espn_bot.py index 9dcf7d2..9ce3385 100644 --- a/gamedaybot/espn/espn_bot.py +++ b/gamedaybot/espn/espn_bot.py @@ -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 @@ -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)