mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
tests -> examples
This commit is contained in:
parent
59db39b33f
commit
77d9bcc30f
@ -1,3 +1,4 @@
|
|||||||
|
// TODO: remove and include the library appropriately
|
||||||
import { GatewayIntents, Session } from "./deps.ts";
|
import { GatewayIntents, Session } from "./deps.ts";
|
||||||
|
|
||||||
const token = process.env.TOKEN;
|
const token = process.env.TOKEN;
|
@ -1,4 +1,9 @@
|
|||||||
|
/**
|
||||||
|
* Deno example
|
||||||
|
*/
|
||||||
|
|
||||||
import "https://deno.land/std@0.146.0/dotenv/load.ts";
|
import "https://deno.land/std@0.146.0/dotenv/load.ts";
|
||||||
|
// TODO: remove and include the library appropriately
|
||||||
import { GatewayIntents, Session } from "./deps.ts";
|
import { GatewayIntents, Session } from "./deps.ts";
|
||||||
|
|
||||||
const token = Deno.env.get("TOKEN") ?? Deno.args[0];
|
const token = Deno.env.get("TOKEN") ?? Deno.args[0];
|
2
examples/deps.ts
Normal file
2
examples/deps.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
// TODO: remove and include the library appropriately
|
||||||
|
export * from "../mod.ts";
|
@ -1 +0,0 @@
|
|||||||
export * from "../mod.ts";
|
|
Loading…
x
Reference in New Issue
Block a user