mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
fix: examples
This commit is contained in:
parent
02a4fc06da
commit
c67439184c
@ -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];
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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];
|
||||
|
||||
|
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user