Skip to content

Commit

Permalink
fixed cap pokemon names
Browse files Browse the repository at this point in the history
  • Loading branch information
XeIris committed Nov 12, 2024
1 parent 62d4efe commit 92d9fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/catch.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class Catch extends Command {
}
if (currentPokemon.toLowerCase() == pokemonName.toLowerCase()) {
await interaction.editReply({ embeds: [new EmbedBuilder()
.setTitle(`You caught a wild ${pokemonName}!`)
.setTitle(`You caught a wild ${currentPokemon}!`)
.setDescription(`Ummm congrats I guess?`)
.setColor("#00FF00")
]})
this.client.db.catchPokemon(interaction.user.id, pokemonName);
this.client.db.catchPokemon(interaction.user.id, currentPokemon);
this.client.currentPokemon = null;
} else {
await interaction.editReply({ embeds: [new EmbedBuilder()
Expand Down

0 comments on commit 92d9fc5

Please sign in to comment.