From 8a3f89cd92fde5b6f2abb1ac8af3877e006e86d3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 30 Jan 2021 23:06:34 -0500 Subject: [PATCH] Shorter sentences --- commands/games-mp/typing-race.js | 2 +- commands/games-sp/typing-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-mp/typing-race.js b/commands/games-mp/typing-race.js index d03557ee..a47633d7 100644 --- a/commands/games-mp/typing-race.js +++ b/commands/games-mp/typing-race.js @@ -33,7 +33,7 @@ module.exports = class TypingRaceCommand extends Command { this.client.games.delete(msg.channel.id); return msg.say('Looks like they declined...'); } - const sentence = this.client.registry.commands.get('typing-test').generateSentence(6); + const sentence = this.client.registry.commands.get('typing-test').generateSentence(5); const img = await this.client.registry.commands.get('typing-test').generateImage(sentence); await msg.say(`**Type the following sentence within 30 seconds:**`, { files: [{ attachment: img, name: 'typing-race.png' }] diff --git a/commands/games-sp/typing-test.js b/commands/games-sp/typing-test.js index b7f7af6b..2eee6977 100644 --- a/commands/games-sp/typing-test.js +++ b/commands/games-sp/typing-test.js @@ -36,7 +36,7 @@ module.exports = class TypingTestCommand extends Command { } async run(msg, { difficulty }) { - const sentence = this.generateSentence(6); + const sentence = this.generateSentence(5); const time = times[difficulty]; await msg.reply(`**You have ${time / 1000} seconds to type this sentence.**`, { files: [{ attachment: this.generateImage(sentence), name: 'typing-test.png' }]