This commit is contained in:
Dragon Fire
2021-04-24 08:56:53 -04:00
parent f91f82e9c3
commit e44e09f402
+1 -1
View File
@@ -95,7 +95,7 @@ module.exports = class KinoCommand extends Command {
const chunks = [];
let currentChunk = '';
for (const paragraph of story.split('\n\n')) {
if (paragraph === '***') {
if (paragraph === '***' && currentChunk) {
chunks.push(currentChunk);
currentChunk = '***\n\n';
continue;