mark discord.js as external
This commit is contained in:
parent
bba0b1bce0
commit
ef5ab8ad77
5 changed files with 61 additions and 12 deletions
4
index.ts
4
index.ts
|
@ -92,9 +92,7 @@ client.once('ready', async () => {
|
|||
for (const match of urlMatches) {
|
||||
console.log('[link]', match[0]);
|
||||
if (await isBad(match[0])) {
|
||||
await e.delete();
|
||||
await e.channel.send({
|
||||
content: `<@${e.author.id}>`,
|
||||
await e.reply({
|
||||
embeds: [
|
||||
{
|
||||
title: 'Hold on!',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue