diff --git a/discord/template.py b/discord/template.py index fd4554d7e..2eaa69277 100644 --- a/discord/template.py +++ b/discord/template.py @@ -283,3 +283,11 @@ class Template: This template does not exist. """ await self._state.http.delete_template(self.source_guild.id, self.code) + + @property + def url(self) -> str: + """:class:`str`: The template url. + + .. versionadded:: 2.0 + """ + return f'https://discord.new/{self.code}'