From acfe1e2cbf8916927dbd184a99a2ea2e4a26daf7 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 7 Feb 2018 14:53:01 +0000 Subject: [PATCH] Fix --- commands/search/periodic-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/periodic-table.js b/commands/search/periodic-table.js index 04dad752..b4a84885 100644 --- a/commands/search/periodic-table.js +++ b/commands/search/periodic-table.js @@ -64,7 +64,7 @@ module.exports = class PeriodicTableCommand extends Command { ctx.fillText(element.name, 250, 450); ctx.font = '30px Noto'; ctx.fillText(element.mass, 250, 400); - const period = element.number === 0 ? `period ${element.period}` : element.period; + const period = element.number === 0 ? element.period : `period ${element.period}`; return msg.say( `**${element.name} (${element.symbol})** is a ${element.phase} in ${period}.`, { files: [{ attachment: canvas.toBuffer(), name: `${element.name}.png` }] }