Browse Source

Call Http.start_group() in ClientUser.create_group()

pull/1546/merge
Bryan Forbes 7 years ago
committed by Rapptz
parent
commit
d7218259aa
  1. 2
      discord/user.py

2
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):

Loading…
Cancel
Save