Skip to content

Commit

Permalink
Lowered dream count
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-NCSU committed Aug 23, 2021
1 parent 66e333e commit 1766ea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions commands/dream.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ module.exports = {
.setDescription('Simulates Dream\'s pearl and blaze rod odds.')
.addIntegerOption(option =>
option.setName('simulations')
.setDescription('Number of simulations to run (Max 1,000,000')
.setRequired(true)
.setDescription('Number of simulations to run (Max 100,000')
),
async execute(interaction) {
let sim = interaction.options.get('simulations');
Expand All @@ -17,7 +16,7 @@ module.exports = {
} else {
sim = sim.value;
}
if(sim > 1000000) {
if(sim > 100000) {
return await interaction.editReply('Too many simulations (' + sim + ')');
}
let pMax = 0;
Expand Down
2 changes: 1 addition & 1 deletion commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
.addField('/leaderboard <game>', 'Provides a leaderboard for the given game.')
.addField('/verified <user>', 'Provides the number of runs verified by the given user.')
.addField('/queuelength <game>', 'Provides the number of unverified runs for the given game.')
.addField('/dream', 'Simulates Dream\'s pearl and blaze rod odds.')
.addField('/dream (simulations)', 'Simulates Dream\'s pearl and blaze rod odds.')
.addField('/ping', 'Provides bot response time.')
await interaction.editReply('Sending you help!');
await interaction.followUp({ embeds: [embed], ephemeral: true });
Expand Down

0 comments on commit 1766ea3

Please sign in to comment.