Capitalize channel type constants (#1209)

This commit is contained in:
Programmix
2017-02-22 12:08:47 -08:00
committed by Amish Shah
parent b0338df7db
commit d09dfa4c37
3 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ class PartialGuildChannel {
* The type of this guild channel - `text` or `voice`
* @type {string}
*/
this.type = Constants.ChannelTypes.text === data.type ? 'text' : 'voice';
this.type = Constants.ChannelTypes.TEXT === data.type ? 'text' : 'voice';
}
}