Merged master into indev-prism

This commit is contained in:
Schuyler Cebulskie
2017-01-18 19:23:18 -05:00
8 changed files with 86 additions and 9 deletions

View File

@@ -315,6 +315,14 @@ class Client extends EventEmitter {
return this.rest.methods.getWebhook(id, token);
}
/**
* Fetch available voice regions
* @returns {Collection<string, VoiceRegion>}
*/
fetchVoiceRegions() {
return this.rest.methods.fetchVoiceRegions();
}
/**
* Sweeps all channels' messages and removes the ones older than the max message lifetime.
* If the message has been edited, the time of the edit is used rather than the time of the original message.