mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Capitalize channel type constants (#1209)
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user