Skip to content

Commit

Permalink
remove deprecated <@!mention> syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Jul 19, 2024
1 parent 8479607 commit 7be4ebf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion functions/submission/makeEmbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = async function makeEmbed(
.addFields(
{
name: "Author",
value: `<@!${authors.join(">\n<@!")}>`,
value: `<@${authors.join(">\n<@")}>`,
inline: true,
},
{ name: "Status", value: `<:pending:${settings.emojis.pending}> Pending...`, inline: true },
Expand Down
4 changes: 2 additions & 2 deletions functions/submission/sendToChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ async function sendToResults(client, pack, delay = undefined) {
// add council downvotes field between the status and path fields
resultEmbed.spliceFields(2, 0, {
name: "Council Downvotes",
value: `<@!${users
value: `<@${users
.filter((user) => !user.bot)
.map((user) => user.id)
.join(">\n<@!")
.join(">\n<@")
.toString()}>`,
inline: true,
});
Expand Down

0 comments on commit 7be4ebf

Please sign in to comment.