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:
5
src/events/ready.ts
Normal file
5
src/events/ready.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { event, Events } from '../utils/index.js'
|
||||
|
||||
export default event(Events.ClientReady, ({ log }, client) => {
|
||||
return log(`Logged in as ${client.user.username}.`)
|
||||
})
|
||||
Reference in New Issue
Block a user