aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley S <[email protected]>2020-08-01 02:09:04 +0100
committerGitHub <[email protected]>2020-07-31 21:09:04 -0400
commitb2065c92df107ad81fcaea89cb92903785429aed (patch)
treecc93f2199a647c7f33a88cd22dd58b545d117c8e
parentSpecify where to get max_members in documentation (diff)
downloaddiscord.py-b2065c92df107ad81fcaea89cb92903785429aed.tar.xz
discord.py-b2065c92df107ad81fcaea89cb92903785429aed.zip
Fix typo when creating a guild via template
-rw-r--r--discord/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/template.py b/discord/template.py
index 24c45567..cff6ebce 100644
--- a/discord/template.py
+++ b/discord/template.py
@@ -163,4 +163,4 @@ class Template:
region = region.value
data = await self._state.http.create_from_template(self.code, name, region, icon)
- return Guild(data=data, state=self._sate)
+ return Guild(data=data, state=self._state)