mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
* Cleanup Part 2: Electric Boogaloo (Reloaded) * Moar cleanup * Tweak NOT_A_PERMISSION error
13 lines
266 B
JavaScript
13 lines
266 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;
|