chore: get back ig

This commit is contained in:
2023-03-16 17:24:24 +01:00
parent c5919cf223
commit 99cfa39d6e
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export default discordEvent({
async execute(message) {
if (message.channel.id !== process.env.CHATGPT_CHANNEL) return;
if (message.author.bot) return;
// if (message.content.includes('ig')) return;
if (message.content.includes('ig')) return;
try {
await (message.channel as TextChannel).sendTyping()

View File

@@ -9,7 +9,7 @@ export default discordEvent({
const thread = message.channel as ThreadChannel
if (thread.parentId !== process.env.CHATGPT_CHANNEL) return;
if (message.author.bot) return;
// if (message.content.includes('ig')) return;
if (message.content.includes('ig')) return;
try {
await thread.sendTyping()