diff --git a/modules/calc.py b/modules/calc.py index 6e9e86f..29d1d1e 100755 --- a/modules/calc.py +++ b/modules/calc.py @@ -41,8 +41,9 @@ def py(bot, trigger): res = requests.get(uri + query) res.raise_for_status() answer = res.text + answer = answer[:2000] if answer: #bot.msg can potentially lead to 3rd party commands triggering. - bot.msg(answer) + bot.msg(answer, length=300) else: bot.reply('Sorry, no result.')