mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Merge pull request #168 from hydrabolt/issue/144
Allow moving users to voice channels
This commit is contained in:
@@ -289,6 +289,16 @@ Removes a user from a server
|
||||
- **callback** - `function` taking the following:
|
||||
- **error** - error if any occurred.
|
||||
|
||||
moveMember(user, channel, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Moves a user from one voice channel into another.
|
||||
|
||||
- **user** - A `User Resolvable`_ that should be moved
|
||||
- **channel** - The `Channel Resolvable`_ to move the user to
|
||||
- **callback** - `function` taking the following:
|
||||
- **error** - error if any occurred.
|
||||
|
||||
createInvite(channel, `options`, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user