mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
const Action = require('./Action');
|
|
|
|
class ChannelCreateAction extends Action {
|
|
handle(data) {
|
|
const client = this.client;
|
|
const channel = client.dataManager.newChannel(data);
|
|
return { channel };
|
|
}
|
|
}
|
|
|
|
module.exports = ChannelCreateAction;
|