From d9a818b20d64205776bfa417a1d132d6cf6d6238 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Tue, 26 Aug 2025 22:45:05 -0400 Subject: [PATCH] Fix Jerktonium period --- commands/search/periodic-table.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/search/periodic-table.js b/commands/search/periodic-table.js index 695218c3..b20689da 100644 --- a/commands/search/periodic-table.js +++ b/commands/search/periodic-table.js @@ -100,7 +100,9 @@ module.exports = class PeriodicTableCommand extends Command { ctx.fillText(element.name, 250, 450); ctx.font = this.client.fonts.get('Noto-Regular.ttf').toCanvasString(30); ctx.fillText(element.atomic_mass ? element.atomic_mass.toString() : '?', 250, 400); - const period = element.number === 0 ? element.period : `period ${element.period}`; + const period = element.number === 0 || element.number === 1999 + ? element.period + : `period ${element.period}`; const phase = element.undiscovered ? `hypothetical ${element.phase || 'element'}` : element.phase; return msg.say( `**${element.name} (${element.symbol})** is a ${phase} in ${period}.`,