mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
fmt
This commit is contained in:
@@ -59,7 +59,7 @@ const baseGuild: Partial<Guild> = {
|
||||
return this.bot?.guilds.get(this.id!);
|
||||
},
|
||||
get botVoice() {
|
||||
return this.voiceStates.get(botID);
|
||||
return this.voiceStates?.get(botID);
|
||||
},
|
||||
get owner() {
|
||||
return cache.members.get(this.ownerID!);
|
||||
|
||||
@@ -110,7 +110,10 @@ export async function createShard(
|
||||
break;
|
||||
case GatewayOpcode.InvalidSession:
|
||||
eventHandlers.debug?.(
|
||||
{ type: "gatewayInvalidSession", data: { shardID: basicShard.id, data } },
|
||||
{
|
||||
type: "gatewayInvalidSession",
|
||||
data: { shardID: basicShard.id, data },
|
||||
},
|
||||
);
|
||||
// When d is false we need to reidentify
|
||||
if (!data.d) {
|
||||
|
||||
Reference in New Issue
Block a user