beginnings: rendering text to message

This commit is contained in:
MapleLeaf
2021-12-08 14:12:26 -06:00
parent c0aa4ee108
commit 57d55fe58f
17 changed files with 516 additions and 27 deletions

10
test/env.ts Normal file
View File

@@ -0,0 +1,10 @@
import "dotenv/config.js"
import { raise } from "../src/helpers/raise.js"
function getEnv(name: string) {
return process.env[name] ?? raise(`Missing environment variable: ${name}`)
}
export const testBotToken = getEnv("TEST_BOT_TOKEN")
export const testGuildId = getEnv("TEST_GUILD_ID")
export const testChannelId = getEnv("TEST_CHANNEL_ID")