fix: examples

This commit is contained in:
Yuzu 2022-07-14 19:54:43 -05:00
parent 02a4fc06da
commit c67439184c
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import {
GatewayIntents,
InteractionResponseTypes,
Session,
} from "https://x.nest.land/biscuit/mod.ts";
} from "https://deno.land/x/biscuit/mod.ts?code";
const token = Deno.env.get("TOKEN") ?? Deno.args[0];

View File

@ -6,7 +6,7 @@
const { GatewayIntents, Session } = require("../mod.ts");
// if it didn't worked use:
// const { GatewayIntents, Session } = require("@oasisjs/biscuit");
// import { GatewayIntents, Session } from "@oasisjs/biscuit";
const token = process.env.TOKEN;
const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages;

View File

@ -5,7 +5,7 @@
import "https://deno.land/std@0.146.0/dotenv/load.ts";
// Session to create a new bot (and intents)
import { GatewayIntents, Session } from "https://x.nest.land/biscuit/mod.ts";
import { GatewayIntents, Session } from "https://deno.land/x/biscuit/mod.ts";
const token = Deno.env.get("TOKEN") ?? Deno.args[0];

View File

@ -4,7 +4,7 @@ import {
GatewayIntents,
InteractionResponseTypes,
Session,
} from "https://x.nest.land/biscuit/mod.ts";
} from "https://deno.land/x/biscuit/mod.ts";
const token = Deno.env.get("TOKEN") ?? Deno.args[0];