mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
Migrate most of the Client Data Store to Clien
This commit is contained in:
@@ -6,7 +6,7 @@ class GuildCreateHandler extends AbstractHandler {
|
||||
const data = packet.d;
|
||||
const client = this.packetManager.client;
|
||||
|
||||
const guild = client.store.get('guilds', data.id);
|
||||
const guild = client.guilds.get(data.id);
|
||||
|
||||
if (guild) {
|
||||
if (!guild.available && !data.unavailable) {
|
||||
|
||||
Reference in New Issue
Block a user