diff options
Diffstat (limited to 'discord/invite.py')
| -rw-r--r-- | discord/invite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/invite.py b/discord/invite.py index f4c8e1f2..28458b7a 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -256,7 +256,7 @@ class Invite(Hashable): 'temporary', 'max_uses', 'inviter', 'channel', '_state', 'approximate_member_count', 'approximate_presence_count' ) - BASE = 'https://discord.gg/' + BASE = 'https://discord.gg' def __init__(self, *, state, data): self._state = state @@ -311,7 +311,7 @@ class Invite(Hashable): @property def url(self): """:class:`str`: A property that retrieves the invite URL.""" - return self.BASE + self.code + return self.BASE + '/' + self.code async def delete(self, *, reason=None): """|coro| |