diff --git a/commands/100-games/beatgameagechart.js b/commands/100-games/chartbeatgameage.js similarity index 96% rename from commands/100-games/beatgameagechart.js rename to commands/100-games/chartbeatgameage.js index 75996d7..acb60d1 100644 --- a/commands/100-games/beatgameagechart.js +++ b/commands/100-games/chartbeatgameage.js @@ -2,13 +2,13 @@ const { createCanvas } = require('canvas'); const { Chart } = require('chart.js/auto'); const fs = require('fs'); const { getUserRegistration, getBeatenGames, checkGameStorageId } = require('../../databaseHelperFunctions.js'); -const { getGameJson } = require('../../igdbHelperFunctions'); +const { getGameJson } = require('../../igdbHelperFunctions.js'); const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() - .setName('beatgameagechart') - .setDescription('beatgameagechart') + .setName('chartbeatgameage') + .setDescription('Generate a scatter chart of the age of the games that have been beaten') .addUserOption(option => option.setName('user').setDescription('The user to check')) .addIntegerOption(option => option.setName('year').setDescription('The year to check').addChoices({ name: '2024', value: 2024 }, { name: '2025', value: 2025 })), async execute(interaction) { diff --git a/commands/100-games/beattimeline.js b/commands/100-games/chartbeatgames.js similarity index 97% rename from commands/100-games/beattimeline.js rename to commands/100-games/chartbeatgames.js index 23b9532..f17dea4 100644 --- a/commands/100-games/beattimeline.js +++ b/commands/100-games/chartbeatgames.js @@ -6,8 +6,8 @@ const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() - .setName('beattimeline') - .setDescription('beattimeline') + .setName('chartbeatgames') + .setDescription('Generate a line graph of the games beat over time') .addUserOption(option => option.setName('user').setDescription('The user to check')), async execute(interaction) {