NodeJS TypeScript Setup (#1)
* bot can login to discord * changed node and npm to iron lts * added typescript runnables * more dev scripts * readme update on scripts * event handling skeleton * fixed compiler target issue
This commit is contained in:
7
src/keys.ts
Normal file
7
src/keys.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { getEnvVar } from "./utils/env.js"
|
||||
|
||||
export const Keys = {
|
||||
clientToken: getEnvVar('CLIENT_TOKEN')
|
||||
} as const // readonly keys
|
||||
|
||||
export default Keys
|
||||
Reference in New Issue
Block a user