mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
setChannelPosition
This commit is contained in:
@@ -366,6 +366,12 @@ export default class Client extends EventEmitter {
|
||||
.then(callback, errCB(callback));
|
||||
}
|
||||
|
||||
//def setChannelPosition
|
||||
setChannelPosition(channel, position, callback = (/*err*/) => {}) {
|
||||
return this.internal.setChannelPosition(channel, position)
|
||||
.then(callback, errCB(callback));
|
||||
}
|
||||
|
||||
//def updateChannel
|
||||
updateChannel(channel, data, callback = (/*err*/) => {}) {
|
||||
return this.internal.updateChannel(channel, data)
|
||||
|
||||
Reference in New Issue
Block a user