aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Forbes <[email protected]>2018-08-25 14:53:41 -0500
committerRapptz <[email protected]>2018-08-28 23:50:55 -0400
commitd7218259aa53e1d01909e90448d83af0460ccbc1 (patch)
tree53d366e5e5b3e337b8709958c8e20303a44e1b76
parentEnsure large guilds are properly appended to the ready state guild list (diff)
downloaddiscord.py-d7218259aa53e1d01909e90448d83af0460ccbc1.tar.xz
discord.py-d7218259aa53e1d01909e90448d83af0460ccbc1.zip
Call Http.start_group() in ClientUser.create_group()
-rw-r--r--discord/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/user.py b/discord/user.py
index 381687a5..fa4c0719 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -448,7 +448,7 @@ class ClientUser(BaseUser):
raise ClientException('You must have two or more recipients to create a group.')
users = [str(u.id) for u in recipients]
- data = await self._state.http.create_group(self.id, users)
+ data = await self._state.http.start_group(self.id, users)
return GroupChannel(me=self, data=data, state=self._state)
class User(BaseUser, discord.abc.Messageable):