all repos — stealth-developers @ 0ad474abcf4c9b5950a6297e3403fb7537b0186b

src/events/messageCreate.ts (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
import { type Client, Events, type Message } from "discord.js";

export default {
	event: Events.MessageCreate,
	async execute(_client: Client, message: Message) {
		if (message.author.bot) return;

		if (message.content.includes("grok is this true")) {
			if (message.channel.isSendable()) await message.channel.send("yeh");
		}
	},
};