Add TextBasedChannel.setTyping(bool)

This commit is contained in:
Amish Shah
2016-08-27 21:43:58 +01:00
parent 6faa409e96
commit 6a1a36813f
7 changed files with 46 additions and 1 deletions

View File

@@ -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) => {
/*