From e3399361141b2b9fc8c53fc052d6489ef3fad97b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 3 Apr 2024 18:24:01 -0400 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 af94b52b..94f163ee 100644 --- a/commands/search/periodic-table.js +++ b/commands/search/periodic-table.js @@ -105,7 +105,7 @@ module.exports = class PeriodicTableCommand extends Command { const { text } = await request .get('https://raw.githubusercontent.com/Bowserinator/Periodic-Table-JSON/master/PeriodicTableJSON.json'); this.table = JSON.parse(text).elements; - this.table.elements.unshift(batman); + this.table.unshift(batman); return this.table; } };