Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr authored Apr 4, 2024
1 parent c7539d1 commit 7b704c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Check failure on line 103 in src/index.ts

View workflow job for this annotation

GitHub Actions / lint

Expected 0 arguments, but got 1.
}
}
} catch (error) {
Expand Down

0 comments on commit 7b704c6

Please sign in to comment.