mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Minor refactor of Actions
This commit is contained in:
@@ -4,9 +4,7 @@ class ChannelCreateAction extends Action {
|
||||
handle(data) {
|
||||
const client = this.client;
|
||||
const channel = client.dataManager.newChannel(data);
|
||||
return {
|
||||
channel,
|
||||
};
|
||||
return { channel };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user