mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Finish renaming setChannelTopic
This commit is contained in:
@@ -369,7 +369,7 @@ export default class Client extends EventEmitter {
|
||||
.then(dataCallback(callback), errorCallback(callback));
|
||||
}
|
||||
|
||||
// def setTopic
|
||||
// def setChannelTopic
|
||||
setChannelTopic(channel, topic, callback = (/*err, {}*/) => { }) {
|
||||
return this.internal.setChannelTopic(channel, topic)
|
||||
.then(dataCallback(callback), errorCallback(callback));
|
||||
|
||||
Reference in New Issue
Block a user