This commit is contained in:
Dragon Fire
2021-04-24 21:04:48 -04:00
parent 9c1822967c
commit 763f5e47e9
+1 -1
View File
@@ -81,7 +81,7 @@ module.exports = class KinoCommand extends Command {
const verification = await verify(msg.channel, msg.author, { time: 300000 }); const verification = await verify(msg.channel, msg.author, { time: 300000 });
if (!verification) { if (!verification) {
this.client.games.delete(msg.channel.id); this.client.games.delete(msg.channel.id);
const filename = stories.find(story => story.toLowerCase() === file); const filename = stories.find(sto => sto.toLowerCase() === story);
const num = stories.indexOf(filename).toString().padStart(2, '0'); const num = stories.indexOf(filename).toString().padStart(2, '0');
const usage = this.usage(`${num} ${i}`); const usage = this.usage(`${num} ${i}`);
return msg.say(`You can resume reading from where you were by using ${usage}.`); return msg.say(`You can resume reading from where you were by using ${usage}.`);