From cacef066ca25121e539a9e6ff5290d541105b809 Mon Sep 17 00:00:00 2001 From: Skillz Date: Wed, 15 Jul 2020 11:28:07 -0400 Subject: [PATCH] std bump, deno 1.2 was BREAKING update YAY SEMVER! --- handlers/message.ts | 2 +- module/requestManager.ts | 2 +- module/shard.ts | 4 ++-- module/shardingManager.ts | 2 +- utils/cache.ts | 2 +- utils/logger.ts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/handlers/message.ts b/handlers/message.ts index 4ffa9dc67..8cb0a044c 100644 --- a/handlers/message.ts +++ b/handlers/message.ts @@ -1,5 +1,5 @@ import { Message, createMessage } from "../structures/message.ts"; -import { delay } from "https://deno.land/std@0.50.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; import { botID } from "../module/client.ts"; import { hasChannelPermission } from "./channel.ts"; import { Permissions } from "../types/permission.ts"; diff --git a/module/requestManager.ts b/module/requestManager.ts index 391936314..e6286df89 100644 --- a/module/requestManager.ts +++ b/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.50.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.61.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/module/shard.ts b/module/shard.ts index 3cf4ef772..57cf3b752 100644 --- a/module/shard.ts +++ b/module/shard.ts @@ -2,7 +2,7 @@ import { connectWebSocket, isWebSocketCloseEvent, WebSocket, -} from "https://deno.land/std@0.50.0/ws/mod.ts"; +} from "https://deno.land/std@0.61.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.50.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; import { DebugArg } from "../types/options.ts"; let shardSocket: WebSocket; diff --git a/module/shardingManager.ts b/module/shardingManager.ts index 13b61be44..6a4afde09 100644 --- a/module/shardingManager.ts +++ b/module/shardingManager.ts @@ -15,7 +15,7 @@ import { botID, setBotID, } from "./client.ts"; -import { delay } from "https://deno.land/std@0.50.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; import { handleInternalChannelCreate, handleInternalChannelUpdate, diff --git a/utils/cache.ts b/utils/cache.ts index 653966f44..e97037f85 100644 --- a/utils/cache.ts +++ b/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.50.0/async/delay.ts"; +import { delay } from "https://deno.land/std@0.61.0/async/delay.ts"; export interface CacheData { guilds: Collection; diff --git a/utils/logger.ts b/utils/logger.ts index ea01c7838..28e984e68 100644 --- a/utils/logger.ts +++ b/utils/logger.ts @@ -3,7 +3,7 @@ import { green, red, yellow, -} from "https://deno.land/std@0.50.0/fmt/colors.ts"; +} from "https://deno.land/std@0.61.0/fmt/colors.ts"; export const getTime = () => { const now = new Date();