Files
discord.js/src/client/actions/ChannelCreate.js
2016-08-13 14:44:49 +01:00

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;