Skip to content

Commit

Permalink
feat: daily multiplier for staff
Browse files Browse the repository at this point in the history
  • Loading branch information
GregTCLTK committed Nov 12, 2023
1 parent d3e857b commit 1c957f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions.ts
Expand Up @@ -285,7 +285,7 @@ export async function handleInteraction(interaction: Interaction) {
}

let reward = 10 + (Math.floor(Math.random() * 10));
if ((await interaction.guild!.members.fetch(interaction.user.id)).premiumSince)
if ((await interaction.guild!.members.fetch(interaction.user.id)).premiumSince || (await interaction.guild!.members.fetch(interaction.user.id)).roles.cache.has("1120392307087261787"))
reward *= 10;
const res = await addCoins(interaction.user.id, reward);
if (res === null) {
Expand Down

0 comments on commit 1c957f2

Please sign in to comment.