From 66c6be50d8ac5d401a658c757c5f1ccb454c798b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 23 May 2020 21:44:30 -0400 Subject: Prepare for the discord.com domain rename --- discord/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/widget.py') diff --git a/discord/widget.py b/discord/widget.py index 662afca9..11037fbb 100644 --- a/discord/widget.py +++ b/discord/widget.py @@ -226,7 +226,7 @@ class Widget: @property def json_url(self): """:class:`str`: The JSON URL of the widget.""" - return "https://discordapp.com/api/guilds/{0.id}/widget.json".format(self) + return "https://discord.com/api/guilds/{0.id}/widget.json".format(self) @property def invite_url(self): -- cgit v1.2.3