jellyfin-discord-bot/server/events/messageCreate.ts

7 lines
180 B
TypeScript

import { Message } from "discord.js"
export const name = 'messageCreate'
export function execute(message: Message) {
console.log(`${JSON.stringify(message)} has been created`)
}