UNPKG

v11-discord.js

Version:

A powerful library for interacting with the Discord API - patched by molo#7947

12 lines (9 loc) 255 B
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;