Skip to content

Commit

Permalink
fix: make mentions work in hub logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Nov 21, 2024
1 parent ffb60c4 commit 0030920
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/utils/hub/logger/Default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ export const sendLog = async (

if (channel?.isSendable()) {
await channel
.send({ content: ctx.content, embeds: [ctx.embed], components: ctx.components })
.send({
content: ctx.content,
embeds: [ctx.embed],
components: ctx.components,
allowedMentions: { parse: ['roles'] },
})
.catch(() => null);
}
},
Expand Down

0 comments on commit 0030920

Please sign in to comment.