From a5ff20fca32b73a6f403be98547fd47f785ba12b Mon Sep 17 00:00:00 2001 From: dngfx Date: Sun, 9 Sep 2018 13:34:32 +0100 Subject: i dun fixed it! --- modules/tweets.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/tweets.py b/modules/tweets.py index 72358899..8b0ebd76 100644 --- a/modules/tweets.py +++ b/modules/tweets.py @@ -73,8 +73,9 @@ class Module(object): tweet_link = "https://twitter.com/%s/status/%s" % ( chopped_uname, linked_id) - bitly_link = " -- " + self.events.call("get.shortlink", - url=tweet_link) + bitly_link = " -- " + self.events.on("get").on( + "shortlink").call( + url=tweet_link)[0] if "retweeted_status" in tweet: original_username = "@%s" % tweet["retweeted_status" -- cgit v1.3.1-10-gc9f91