mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
Migrate most of the Client Data Store to Clien
This commit is contained in:
@@ -10,7 +10,7 @@ class ChannelDeleteAction extends Action {
|
||||
|
||||
handle(data) {
|
||||
const client = this.client;
|
||||
let channel = client.store.get('channels', data.id);
|
||||
let channel = client.channels.get(data.id);
|
||||
|
||||
if (channel) {
|
||||
client.store.killChannel(channel);
|
||||
|
||||
Reference in New Issue
Block a user