mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-01-26 13:58:27 -06:00
Fix error due to empty string
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user