Method PlaceMemberAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
PlaceMemberAsync(DiscordMember)
Moves a member to this voice channel
public Task PlaceMemberAsync(DiscordMember member)
Parameters
member
DiscordMemberThe member to be moved.
Returns
Exceptions
- UnauthorizedException
Thrown when the client does not have the MoveMembers permission.
- NotFoundException
Thrown when the channel does not exists or if the Member does not exists.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.