mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
std bump, deno 1.2 was BREAKING update YAY SEMVER!
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
+1
-1
@@ -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<string, Guild>;
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user