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