diff --git a/modules/wikipedia.py b/modules/wikipedia.py index 2f3d9f3..dc646b4 100755 --- a/modules/wikipedia.py +++ b/modules/wikipedia.py @@ -33,6 +33,7 @@ def say_snippet(bot, query, show_url=True): msg = f'[\x0304WIKIPEDIA\x03] \x0310{page_name}\x03 | \x0312"{snippet}"' if show_url: msg = msg + f"\x03 | \x0307https://en.wikipedia.org/wiki/{query}" + msg = msg[:270] + '...' # arbitrary cutoff bot.msg(msg)