Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Update send.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev authored Jun 29, 2023
1 parent 9ca1438 commit 8f5fefb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/util/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ module.exports = async function (message, client, Discord) {
)
.setTimestamp()

const actions = new Discord.ActionRowBuilder()
.addComponents (
new Discord.ButtonBuilder()
.setStyle(Discord.ButtonStyle.Secondary)
.setCustomId(`blocked-message-info-${message.id}`)
.setEmoji("ℹ️")
)

if(message.content.length) blocked.setDescription(message.content);

if(message.attachments.first()) {
Expand All @@ -56,7 +48,7 @@ module.exports = async function (message, client, Discord) {
}
}

blockedChannel.send({ embeds: [blocked], components: [actions] });
blockedChannel.send({ embeds: [blocked] });
return;
}

Expand Down

0 comments on commit 8f5fefb

Please sign in to comment.