|
@ -448,7 +448,7 @@ class ClientUser(BaseUser): |
|
|
raise ClientException('You must have two or more recipients to create a group.') |
|
|
raise ClientException('You must have two or more recipients to create a group.') |
|
|
|
|
|
|
|
|
users = [str(u.id) for u in recipients] |
|
|
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) |
|
|
return GroupChannel(me=self, data=data, state=self._state) |
|
|
|
|
|
|
|
|
class User(BaseUser, discord.abc.Messageable): |
|
|
class User(BaseUser, discord.abc.Messageable): |
|
|