Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirabellier committed Feb 24, 2024
1 parent a12abec commit 931e6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/rpg/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module.exports = {
const prompt = interaction.options.getString("class");

try {
const chaClass = classes[args[0].toLowerCase()];
const chaClass = classes[prompt.toLowerCase()];
const characterKeys = Object.keys(characters);
const randomIndex = Math.floor(Math.random() * characterKeys.length);
const randomCharacterKey = characterKeys[randomIndex];
Expand Down

0 comments on commit 931e6a7

Please sign in to comment.