aboutsummaryrefslogtreecommitdiff
path: root/discord/widget.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-05-23 21:44:30 -0400
committerRapptz <[email protected]>2020-05-23 21:44:30 -0400
commit66c6be50d8ac5d401a658c757c5f1ccb454c798b (patch)
treebc5079ddfca32f952417416f473283cda045017b /discord/widget.py
parentplayer: Close ffmpeg stdin during streaming (diff)
downloaddiscord.py-66c6be50d8ac5d401a658c757c5f1ccb454c798b.tar.xz
discord.py-66c6be50d8ac5d401a658c757c5f1ccb454c798b.zip
Prepare for the discord.com domain rename
Diffstat (limited to 'discord/widget.py')
-rw-r--r--discord/widget.py2
1 files changed, 1 insertions, 1 deletions
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):