mirror of
https://github.com/kevinthedang/discord-ollama.git
synced 2025-12-12 19:56:06 -05:00
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/events/index.ts
Normal file
7
src/events/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Event } from '../utils/index.js'
|
||||
import ready from './ready.js'
|
||||
|
||||
// Centralized export for all events
|
||||
export default [
|
||||
ready
|
||||
] as Event[] // staticly is better ts practice, dynamic exporting is possible
|
||||
Reference in New Issue
Block a user