Files
vinci/src/events/ai/message.ts
Izan Gil a6df2e4f31
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 13m0s
fix: dont use the imports
2026-04-02 17:47:59 +02:00

12 lines
340 B
TypeScript

import { aiHandle } from '../../utils/aiHandle.js';
import { EventType, eventModule } from '@sern/handler';
import { ChannelType } from 'discord.js';
export default eventModule({
type: EventType.Discord,
name: 'messageCreate',
execute: async (msg) => {
await aiHandle(msg, msg.channel.type === ChannelType.PublicThread);
}
});