diff --git a/src/index.ts b/src/index.ts index fabbf34..eecb2c4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -98,11 +98,9 @@ client.on(Events.ThreadCreate, async (channel) => { await message.edit(`${pingRole}`); if (channel.parent && channel.parent.name === 'support') { - await message.edit( - `Hello <@!${channel.ownerId}>! Someone will help you shortly, please do not ping moderators or other people and just wait for someone to come help.` - ); + await message.edit(`Hello <@!${channel.ownerId}>! Someone will help you shortly, please do not ping moderators or other people and just wait for someone to come help.`); } else { - await message.delete(); + await message.delete({ timeout: 3000 }); } } } catch (error) {