tests -> examples

This commit is contained in:
Nicolás Serna 2022-07-13 14:38:32 -03:00
parent 59db39b33f
commit 77d9bcc30f
4 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,4 @@
// TODO: remove and include the library appropriately
import { GatewayIntents, Session } from "./deps.ts";
const token = process.env.TOKEN;

View File

@ -1,4 +1,9 @@
/**
* Deno example
*/
import "https://deno.land/std@0.146.0/dotenv/load.ts";
// TODO: remove and include the library appropriately
import { GatewayIntents, Session } from "./deps.ts";
const token = Deno.env.get("TOKEN") ?? Deno.args[0];

2
examples/deps.ts Normal file
View File

@ -0,0 +1,2 @@
// TODO: remove and include the library appropriately
export * from "../mod.ts";

View File

@ -1 +0,0 @@
export * from "../mod.ts";