mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 13m0s
12 lines
340 B
TypeScript
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);
|
|
}
|
|
});
|