aboutsummaryrefslogtreecommitdiff
path: root/discord/template.py
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2020-07-04 17:25:59 +0100
committerRapptz <[email protected]>2020-07-08 23:01:00 -0400
commit3408695a37f949f4ab0ebfea8d4dcf4a24d75972 (patch)
treec70c8e5678dc52f9e59affef00ac985eee191235 /discord/template.py
parentDocument raises for Converter.convert (diff)
downloaddiscord.py-3408695a37f949f4ab0ebfea8d4dcf4a24d75972.tar.xz
discord.py-3408695a37f949f4ab0ebfea8d4dcf4a24d75972.zip
[docs] fix reference to `Guild` and document `utils.resolve_template`
Diffstat (limited to 'discord/template.py')
-rw-r--r--discord/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/template.py b/discord/template.py
index dfc35972..24c45567 100644
--- a/discord/template.py
+++ b/discord/template.py
@@ -84,7 +84,7 @@ class Template:
code: :class:`str`
The template code.
uses: :class:`int`
- How many time the template has been used.
+ How many times the template has been used.
name: :class:`str`
The name of the template.
description: :class:`str`
@@ -95,7 +95,7 @@ class Template:
When the template was created.
updated_at: :class:`datetime.datetime`
When the template was last updated (referred to as "last synced" in the client).
- source_guild: :class:`TemplateGuild`
+ source_guild: :class:`Guild`
The source guild.
"""