Description condition merging
This commit is contained in:
@@ -462,7 +462,7 @@ const handleCommand = async interaction => {
|
||||
|
||||
for(let [ key, value ] of Object.entries(optionDice)) {
|
||||
if(value)
|
||||
dice[key] = value
|
||||
dice[key] = Array.isArray(value) ? value.concat(dice[key]) : value
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user