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

Commit

Permalink
fix: empty message on image
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Jun 29, 2023
1 parent d0b598d commit 9ca1438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ module.exports = async function (message, client, Discord) {
return;
}

if(!message.content.length && !role.verified) {
if(!message.content.length) {
const error = new Discord.EmbedBuilder()
.setColor(client.config_embeds.error)
.setDescription(`${emoji.error} Your media was not processed as you are not a verified user.`)
.setDescription(`${emoji.error} Your media was not processed as the CDN is down.`)

try {
await message.author.send({ embeds: [error] });
Expand Down

0 comments on commit 9ca1438

Please sign in to comment.