mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
8 lines
264 B
JavaScript
8 lines
264 B
JavaScript
module.exports = async (client, payload) => {
|
|
client.user = client.users.forge(payload.user)
|
|
if (payload.shardId === client.gateway.lastShardId) {
|
|
// All Shards are ready
|
|
console.log('Successfully connected to the gateway as ' + client.user.tag)
|
|
}
|
|
}
|