mirror of
https://github.com/SrIzan10/prox2-discord.git
synced 2026-06-06 01:06:57 +00:00
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:
@@ -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`
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -34,7 +34,7 @@ export default commandModule({
|
||||
|
||||
await ctx.channel.send({
|
||||
content: text,
|
||||
allowedMentions: { parse: ['users', 'roles'], repliedUser: true }
|
||||
allowedMentions: { parse: [] }
|
||||
});
|
||||
return ctx.deferUpdate();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user