Fix allowedMentions settings :3

I *may* have had a bit too much fun with this bot and pinged the dev repeatedly because of this bug
This commit is contained in:
Nova
2025-09-28 12:21:19 -06:00
parent 66f37e866a
commit 2ca616cac8
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();
},