Skip to content

Commit

Permalink
Add button to guess
Browse files Browse the repository at this point in the history
Not functional yet
  • Loading branch information
Glazelf committed May 14, 2024
1 parent 00c9b9a commit c50f941
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/api/pokemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ exports.run = async (client, interaction, logger, ephemeral = true) => {
ctx.fillStyle = "#000000";
ctx.fillRect(0, 0, img.width, img.height);
pokemonFiles = new Discord.AttachmentBuilder(canvas.toBuffer());
returnString = `# Who's that Pokémon?`;
returnString = `# Who's That Pokémon?`;
pokemonButtons.addComponents(new Discord.ButtonBuilder({ customId: `pkmquiz|${pokemon.name.toLowerCase()}`, label: "Guess!", style: Discord.ButtonStyle.Primary }));
break;
};
// Bulbapedia button
Expand Down

0 comments on commit c50f941

Please sign in to comment.