From f75b32accef4720c27069890f9012652fc353436 Mon Sep 17 00:00:00 2001 From: jeantoulza <5441867+jeantoulza@users.noreply.github.com> Date: Thu, 12 Jul 2018 18:01:13 +0200 Subject: [PATCH] Removed stupid return op --- bot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index f3dece3..585ec5b 100644 --- a/bot.py +++ b/bot.py @@ -80,9 +80,7 @@ def auto(track_url): soundcloud_id = resolve(user_url).id except: raise Exception("Could not determine logged in user...") - - return True - + rep = br.open(BASE+"schedule") try: @@ -155,6 +153,7 @@ def start_bot(): await bot.say("You do not have the required role to repost or use this bot.") return try: + print("Autoscheduling "+url) calendar_link = auto(url) await bot.say(calendar_link) except Exception as e: