mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
This commit: * fixes inconsistencies (primarily regarding capitalization) * fixes non-proper nouns that were improperly capitalized * fixes reminents from not-so-meticulous copy+paste jobs
18 lines
432 B
JavaScript
18 lines
432 B
JavaScript
const AbstractHandler = require('./AbstractHandler');
|
|
|
|
class ChannelCreateHandler extends AbstractHandler {
|
|
handle(packet) {
|
|
const client = this.packetManager.client;
|
|
const data = packet.d;
|
|
client.actions.ChannelCreate.handle(data);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Emitted whenever a channel is created.
|
|
* @event Client#channelCreate
|
|
* @param {Channel} channel The channel that was created
|
|
*/
|
|
|
|
module.exports = ChannelCreateHandler;
|