Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Jun 5, 2024
1 parent b4d8358 commit 3a88996
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion commands/virtual_simulation/shinx.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default async (client, interaction, ephemeral) => {
});
break;
case "shiny":
res = await hasEventTrophy(master.id, 'shiny charm');
res = await hasEventTrophy(master.id, 'Shiny Charm');
if (res) {
const is_shiny = await switchShininessAndGet(master.id);
returnString = is_shiny ? `Your Shinx is shiny now` : `Your Shinx is no longer shiny`;
Expand Down
1 change: 0 additions & 1 deletion database/dbServices/trophy.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ export async function addEventTrophy(user_id, trophy_id) {
};

export async function hasEventTrophy(user_id, trophy_id) {

const { EventTrophy } = await userdataModel(userdata);
let user = await getUser(user_id, ['user_id']);
let trophy_id_t = trophy_id.toLowerCase();
Expand Down

0 comments on commit 3a88996

Please sign in to comment.