We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b9ac54 commit 1a84446Copy full SHA for 1a84446
src/events/on_message/_advise.ts
@@ -2,7 +2,7 @@ import { type Message, hideLinkEmbed, codeBlock } from 'discord.js';
2
import urlRegex from 'url-regex';
3
4
export default async function mutate_content(message: Message) {
5
- if (message.channel.isTextBased()) return;
+ if (message.channel.isTextBased() && !message.channel.isDMBased()) return;
6
7
const links = message.content
8
.match(urlRegex())
0 commit comments