mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Add voice channel moving, not quite working yet
This commit is contained in:
@@ -273,6 +273,12 @@ export default class Client extends EventEmitter {
|
||||
.then(dataCallback(callback), errorCallback(callback));
|
||||
}
|
||||
|
||||
// def moveMember
|
||||
moveMember(user, server, channel, callback = (/*err, {}*/) => { }) {
|
||||
return this.internal.moveMember(user, server, channel)
|
||||
.then(dataCallback(callback), errorCallback(callback));
|
||||
}
|
||||
|
||||
// def createRole
|
||||
createRole(server, data = null, callback = (/*err, role*/) => { }) {
|
||||
if (typeof data === "function") {
|
||||
|
||||
Reference in New Issue
Block a user