Merge pull request #1 from aelithron/main

Fix allowedMentions settings :3
This commit is contained in:
2025-09-28 20:25:35 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ export default commandModule({
const publicMsg = await publicChannel.send({
content: `${bold(dbMessage.id.toString())}: ${dbMessage.content}`,
components: [buttonGen()],
allowedMentions: { parse: ['users', 'roles'], repliedUser: true }
allowedMentions: { parse: [] }
});
publicMsg.startThread({
name: `number ${dbMessage.id} discussion`

View File

@@ -38,7 +38,7 @@ export default commandModule({
const verifMsg = await verifChannel.send({
content: confession,
components: [buttons],
allowedMentions: { parse: ['users', 'roles'], repliedUser: true },
allowedMentions: { parse: [] },
});
await db.post.create({

View File

@@ -34,7 +34,7 @@ export default commandModule({
await ctx.channel.send({
content: text,
allowedMentions: { parse: ['users', 'roles'], repliedUser: true }
allowedMentions: { parse: [] }
});
return ctx.deferUpdate();
},