mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Add TextBasedChannel.setTyping(bool)
This commit is contained in:
@@ -376,6 +376,14 @@ class RESTMethods {
|
||||
});
|
||||
}
|
||||
|
||||
sendTyping(channelID) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.rest.makeRequest('post', `${Constants.Endpoints.channel(channelID)}/typing`, true)
|
||||
.then(resolve)
|
||||
.catch(reject);
|
||||
});
|
||||
}
|
||||
|
||||
updateGuildRole(role, _data) {
|
||||
return new Promise((resolve, reject) => {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user