mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
chore: get back ig
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user