mirror of
https://github.com/discordjs/discord.js.git
synced 2026-05-31 08:00:07 +00:00
16 lines
262 B
JavaScript
16 lines
262 B
JavaScript
const Action = require('./Action');
|
|
|
|
class ChannelCreateAction extends Action {
|
|
|
|
handle(data) {
|
|
const client = this.client;
|
|
const channel = client.store.newChannel(data);
|
|
|
|
return {
|
|
channel,
|
|
};
|
|
}
|
|
}
|
|
|
|
module.exports = ChannelCreateAction;
|