node-event-bot/server/events/messageCreate.ts

5 lines
138 B
TypeScript
Raw Permalink Normal View History

2022-03-05 01:24:05 +01:00
export const name = 'messageCreate'
export function execute(message: any) {
console.log(`${JSON.stringify(message)} has been created`)
}