diff --git a/src/handlers/message.ts b/src/handlers/message.ts index 54a55a136..49532fe7b 100644 --- a/src/handlers/message.ts +++ b/src/handlers/message.ts @@ -1,5 +1,5 @@ import { Message, createMessage } from "../structures/message.ts"; -import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; import { botID } from "../module/client.ts"; import { Permissions } from "../types/permission.ts"; import { Errors } from "../types/errors.ts"; diff --git a/src/module/basicShard.ts b/src/module/basicShard.ts index f69337912..69d7bd466 100644 --- a/src/module/basicShard.ts +++ b/src/module/basicShard.ts @@ -8,12 +8,12 @@ import { botGatewayData, IdentifyPayload, } from "./client.ts"; -import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; import { connectWebSocket, isWebSocketCloseEvent, WebSocket, -} from "https://deno.land/std@0.61.0/ws/mod.ts"; +} from "https://deno.land/std@0.67.0/ws/mod.ts"; import { DiscordHeartbeatPayload } from "../types/discord.ts"; import { logRed } from "../utils/logger.ts"; import { handleDiscordPayload } from "./shardingManager.ts"; diff --git a/src/module/requestManager.ts b/src/module/requestManager.ts index b485da2ae..536e0dd12 100644 --- a/src/module/requestManager.ts +++ b/src/module/requestManager.ts @@ -1,6 +1,6 @@ import { RequestMethod } from "../types/fetch.ts"; import { authorization, eventHandlers } from "./client.ts"; -import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; import { Errors } from "../types/errors.ts"; import { HttpResponseCode } from "../types/discord.ts"; import { logRed } from "../utils/logger.ts"; diff --git a/src/module/shard.ts b/src/module/shard.ts index 57cf3b752..b65eb3b19 100644 --- a/src/module/shard.ts +++ b/src/module/shard.ts @@ -2,7 +2,7 @@ import { connectWebSocket, isWebSocketCloseEvent, WebSocket, -} from "https://deno.land/std@0.61.0/ws/mod.ts"; +} from "https://deno.land/std@0.67.0/ws/mod.ts"; import { GatewayOpcode, DiscordBotGatewayData, @@ -11,7 +11,7 @@ import { } from "../types/discord.ts"; import { logRed } from "../utils/logger.ts"; import { FetchMembersOptions } from "../types/guild.ts"; -import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; import { DebugArg } from "../types/options.ts"; let shardSocket: WebSocket; diff --git a/src/module/shardingManager.ts b/src/module/shardingManager.ts index edce9fca1..c3a283f01 100644 --- a/src/module/shardingManager.ts +++ b/src/module/shardingManager.ts @@ -16,7 +16,7 @@ import { setBotID, IdentifyPayload, } from "./client.ts"; -import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; import { handleInternalChannelCreate, handleInternalChannelUpdate, diff --git a/src/utils/cache.ts b/src/utils/cache.ts index e1a56e760..b15a46b65 100644 --- a/src/utils/cache.ts +++ b/src/utils/cache.ts @@ -2,7 +2,7 @@ import { Collection } from "./collection.ts"; import { Message } from "../structures/message.ts"; import { Guild } from "../structures/guild.ts"; import { Channel } from "../structures/channel.ts"; -import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; import { PresenceUpdatePayload } from "../types/discord.ts"; export interface CacheData { diff --git a/src/utils/logger.ts b/src/utils/logger.ts index 28e984e68..13a8b8c45 100644 --- a/src/utils/logger.ts +++ b/src/utils/logger.ts @@ -3,7 +3,7 @@ import { green, red, yellow, -} from "https://deno.land/std@0.61.0/fmt/colors.ts"; +} from "https://deno.land/std@0.67.0/fmt/colors.ts"; export const getTime = () => { const now = new Date(); diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 8b2cf2ce8..26075b885 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,7 +1,7 @@ import { StatusType } from "../types/discord.ts"; import { ActivityType } from "../types/activity.ts"; import { sendGatewayCommand } from "../module/shardingManager.ts"; -import { encode } from "https://deno.land/std@0.61.0/encoding/base64.ts"; +import { encode } from "https://deno.land/std@0.67.0/encoding/base64.ts"; export const sleep = (timeout: number) => { return new Promise((resolve) => setTimeout(resolve, timeout));