Remove datebeaten option

This commit is contained in:
baz 2023-12-27 21:34:10 +00:00
parent 7de1d065dd
commit 313a43abc5
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@ module.exports = {
.setName('beatgame') .setName('beatgame')
.setDescription('Log a game that you have beat towards the 100 game challenge!') .setDescription('Log a game that you have beat towards the 100 game challenge!')
.addStringOption(option => option.setName('gamename').setDescription('The name of the game.')) .addStringOption(option => option.setName('gamename').setDescription('The name of the game.'))
.addNumberOption(option => option.setName('gameid').setDescription('The IGDB game id.').setMinValue(0)) .addNumberOption(option => option.setName('gameid').setDescription('The IGDB game id.').setMinValue(0)),
.addStringOption(option => option.setName('datebeaten').setDescription('The date you beat the game (today if empty).')),
async execute(interaction) { async execute(interaction) {
const userDatabaseEntry = await getUserRegistration(interaction.user); const userDatabaseEntry = await getUserRegistration(interaction.user);