From 31cc4c39deeebc7f487f774aedbaad5a1ff19550 Mon Sep 17 00:00:00 2001 From: "Myst(MysterialPy)" Date: Wed, 7 Mar 2018 23:32:20 +1000 Subject: [PATCH] Fix _image_url returning htps Should be https :) Just made this a separate PR from my previous one, in-case you decide to not include it. --- discord/activity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/activity.py b/discord/activity.py index ff3be197b..46d2244ed 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -185,7 +185,7 @@ class Activity(_ActivityTag): except KeyError: return None else: - return 'htps://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, large_image) + return 'https://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, large_image) @property def small_image_url(self): @@ -198,7 +198,7 @@ class Activity(_ActivityTag): except KeyError: return None else: - return 'htps://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, small_image) + return 'https://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, small_image) @property def large_image_text(self): """Optional[:class:`str`]: Returns the large image asset hover text of this activity if applicable."""