Fix error due to empty string

This commit is contained in:
NovaFox161
2022-08-13 17:38:50 -05:00
committed by Nova Maday
parent 2c3f41c0f6
commit be1fadb395

View File

@@ -104,7 +104,8 @@ object CalendarEmbed : EmbedMaker {
content.append("```\n")
}
builder.addField(title, content.toString(), false)
if (content.isNotBlank())
builder.addField(title, content.toString(), false)
}