From b58b1c90a4bacfce4cef8f72fe3489bdd1a1ec5f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 23 Apr 2021 21:10:32 -0400 Subject: [PATCH] Fix --- commands/other/kino.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/other/kino.js b/commands/other/kino.js index 58d07159..a332578a 100644 --- a/commands/other/kino.js +++ b/commands/other/kino.js @@ -88,7 +88,8 @@ module.exports = class KinoCommand extends Command { async generateStory(file) { const filename = stories.find(story => story.toLowerCase() === file); - const story = await readFile(path.join(__dirname, '..', '..', 'assets', 'txt', 'kino', `${filename}.txt`), { + const num = stories.indexOf(filename).toString().padStart(2, '0'); + const story = await readFile(path.join(__dirname, '..', '..', 'assets', 'txt', 'kino', `${num} ${filename}.txt`), { encoding: 'utf8' }); const chunks = [];