Skip to content

Commit

Permalink
Update slut/crime default payout to match unbelievaboat
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMonDon committed Aug 3, 2024
1 parent 6c8192d commit bbedc8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions commands/Economy/crime.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class Crime extends Command {
const authNet = cash + bank;

// Get the min and max amounts of money the user can get
const min = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.min`)) || 500;
const max = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.max`)) || 2000;
const min = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.min`)) || 250;
const max = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.max`)) || 700;

// Get the min and max fine percentages
const minFine = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.fine.min`)) || 20;
Expand Down
8 changes: 4 additions & 4 deletions commands/Economy/set-payout.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ class SetPayout extends Command {

const workMin = (await db.get(`servers.${msg.guild.id}.economy.work.min`)) || 50;
const workMax = (await db.get(`servers.${msg.guild.id}.economy.work.max`)) || 500;
const slutMin = (await db.get(`servers.${msg.guild.id}.economy.slut.min`)) || 500;
const slutMax = (await db.get(`servers.${msg.guild.id}.economy.slut.max`)) || 2000;
const crimeMin = (await db.get(`servers.${msg.guild.id}.economy.crime.min`)) || 500;
const crimeMax = (await db.get(`servers.${msg.guild.id}.economy.crime.max`)) || 2000;
const slutMin = (await db.get(`servers.${msg.guild.id}.economy.slut.min`)) || 100;
const slutMax = (await db.get(`servers.${msg.guild.id}.economy.slut.max`)) || 400;
const crimeMin = (await db.get(`servers.${msg.guild.id}.economy.crime.min`)) || 250;
const crimeMax = (await db.get(`servers.${msg.guild.id}.economy.crime.max`)) || 700;
const chatMin = (await db.get(`servers.${msg.guild.id}.economy.chat.min`)) || 10;
const chatMax = (await db.get(`servers.${msg.guild.id}.economy.chat.max`)) || 100;

Expand Down
4 changes: 2 additions & 2 deletions commands/Economy/slut.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ class Slut extends Command {
const newAmount = cash - fineAmount;
await db.set(`servers.${msg.guild.id}.users.${msg.member.id}.economy.cash`, newAmount.toString());
} else {
const min = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.min`)) || 500;
const max = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.max`)) || 2000;
const min = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.min`)) || 100;
const max = Number(await db.get(`servers.${msg.guild.id}.economy.${type}.max`)) || 400;

const amount = BigInt(Math.floor(Math.random() * (max - min + 1) + min));

Expand Down

0 comments on commit bbedc8b

Please sign in to comment.