diff --git a/src/util/constants.ts b/src/util/constants.ts index b3c9fcc1b..f7609041f 100644 --- a/src/util/constants.ts +++ b/src/util/constants.ts @@ -9,7 +9,7 @@ export const GATEWAY_VERSION = 9; // TODO: update this version /** https://github.com/discordeno/discordeno/releases */ -export const DISCORDENO_VERSION = "11.0.0"; +export const DISCORDENO_VERSION = "11.0.1"; /** https://discord.com/developers/docs/reference#user-agent */ export const USER_AGENT = `DiscordBot (https://github.com/discordeno/discordeno, v${DISCORDENO_VERSION})`; diff --git a/src/util/dispatch_requirements.ts b/src/util/dispatch_requirements.ts index a8cb81203..b790ab68c 100644 --- a/src/util/dispatch_requirements.ts +++ b/src/util/dispatch_requirements.ts @@ -44,7 +44,9 @@ export async function dispatchRequirements(data: DiscordGatewayPayload, shardId: if (!processing.has(id)) return; - return eventHandlers.debug?.(`[DISPATCH] Already processed guild was not successfully fetched: ${id} in ${data.t} event`); + return eventHandlers.debug?.( + `[DISPATCH] Already processed guild was not successfully fetched: ${id} in ${data.t} event` + ); } processing.add(id); @@ -74,7 +76,9 @@ export async function dispatchRequirements(data: DiscordGatewayPayload, shardId: if (!botMember || !channels) { processing.delete(id); - return eventHandlers.debug?.(`[DISPATCH] Guild ID ${id} Name: ${rawGuild.name} failed. Unable to get botMember or channels`); + return eventHandlers.debug?.( + `[DISPATCH] Guild ID ${id} Name: ${rawGuild.name} failed. Unable to get botMember or channels` + ); } const guild = await structures.createDiscordenoGuild(rawGuild, shardId);