We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 661d20e commit a6e2f5fCopy full SHA for a6e2f5f
1 file changed
command/roll.js
@@ -21,15 +21,15 @@ module.exports = {
21
earnCsv = [],
22
dataUser = [];
23
24
- weapons.setPreRoll(client);
+ try {
25
+ weapons.setPreRoll(client);
26
- var sword = weapons.fiRoll,
27
- claymore = weapons.seRoll,
28
- shield = weapons.thRoll,
29
- bow = weapons.foRoll,
30
- axes = weapons.ffRoll;
+ var sword = weapons.fiRoll,
+ claymore = weapons.seRoll,
+ shield = weapons.thRoll,
+ bow = weapons.foRoll,
31
+ axes = weapons.ffRoll;
32
- try {
33
for (let i = 0; i < 15; i++) {
34
if (roll.length < 3) {
35
roll.push(sword[randomIntFromInterval(0, (sword.length - 1))]);
0 commit comments