Compare commits

..

No commits in common. "aee180767d68daa5ae27127a8f043cf8d9996351" and "9cb726ad9e34611492f53072935f627a15edf862" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,7 @@ def updick(bot, trigger):
@commands('upwulf')
def upwulf(bot, trigger):
def updick(bot, trigger):
""".upwulf - Returns the uptime of Fulvia, measured in Adalwulfs."""
if trigger.group(2):
if trigger.group(2) in bot.users:

View File

@ -33,7 +33,6 @@ 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)