🐛 Crash with unknown description

This commit is contained in:
Manuel Ruwe 2022-12-18 19:23:56 +01:00
parent fdf190c2b5
commit 152e603742

View File

@ -53,7 +53,7 @@ export class DiscordMessageService {
text: `${date}`,
});
if (!description && description.length >= 1) {
if (description !== undefined && description.length >= 1) {
embedBuilder = embedBuilder.setDescription(description);
}