mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
🐛 Crash with unknown description
This commit is contained in:
parent
fdf190c2b5
commit
152e603742
@ -53,7 +53,7 @@ export class DiscordMessageService {
|
|||||||
text: `${date}`,
|
text: `${date}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!description && description.length >= 1) {
|
if (description !== undefined && description.length >= 1) {
|
||||||
embedBuilder = embedBuilder.setDescription(description);
|
embedBuilder = embedBuilder.setDescription(description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user