()
| 2 | |
| 3 | class DiceCommand extends Command { |
| 4 | async run() { |
| 5 | const max = this.getOptionInteger("max", true); |
| 6 | return `🎲 ${this.getString("commands.responses.dice.landed", { |
| 7 | params: { |
| 8 | number: (Math.floor(Math.random() * (max || 6)) + 1).toString(), |
| 9 | }, |
| 10 | })}`; |
| 11 | } |
| 12 | |
| 13 | static flags = [ |
| 14 | { |
nothing calls this directly
no test coverage detected