Fix /rand returning zero #1728
This commit is contained in:
parent
cfdf43a26e
commit
d5a2f5d9fc
|
@ -664,7 +664,7 @@ function randValuesCallback(from, to, args) {
|
|||
if (args.round == 'floor') {
|
||||
return Math.floor(value);
|
||||
}
|
||||
return value;
|
||||
return String(value);
|
||||
}
|
||||
|
||||
export function registerVariableCommands() {
|
||||
|
|
Loading…
Reference in New Issue