diff --git a/commands/games/pokemon.js b/commands/games/pokemon.js deleted file mode 100644 index 3b67990..0000000 --- a/commands/games/pokemon.js +++ /dev/null @@ -1,30 +0,0 @@ -const { SlashCommandBuilder } = require('discord.js'); -const { GuessThePokemon } = require('discord-gamecord'); - -module.exports = { - data: new SlashCommandBuilder() - .setName('guesspokemon') - .setDescription('Play a game of Guess the Pokémon') - .setDMPermission(false), - category: 'games', - async execute(interaction) { - const game = new GuessThePokemon({ - message: interaction, - isSlashGame: true, - embed: { - title: 'Who\'s The Pokémon', - color: '#5865F2', - }, - timeoutTime: 60000, - winMessage: 'You guessed it right! It was a {pokemon}.', - loseMessage: 'Better luck next time! It was a {pokemon}.', - errMessage: 'Unable to fetch Pokémon data! Please try again.', - playerOnlyMessage: 'Only {player} can use these buttons.', - }); - - game.startGame(); - game.on('gameOver', result => { - console.log(result); - }); - }, -}; diff --git a/package-lock.json b/package-lock.json index 961193e..0b198c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "DiCoBo", - "version": "2.0.6", + "version": "2.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "DiCoBo", - "version": "2.0.6", + "version": "2.0.7", "license": "MIT", "dependencies": { "@ballaual/discord-temp-voice": "^1.0.3", diff --git a/package.json b/package.json index 60d5c0b..ff37f58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "DiCoBo", - "version": "2.0.6", + "version": "2.0.7", "description": "a discordbot written in discord.js v14 using (/) commands", "main": "index.js", "scripts": { diff --git a/version.json b/version.json index 1dc8cf5..79fa900 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "2.0.6", + "version": "2.0.7", "note": "DO NOT EDIT this file, unless you know what you are doing here!" } \ No newline at end of file