diff --git a/assets/json/roman-numeral.json b/assets/json/roman-numeral.json index 6097cc94..e2136ba5 100644 --- a/assets/json/roman-numeral.json +++ b/assets/json/roman-numeral.json @@ -11,6 +11,5 @@ "IX": 9, "V": 5, "IV": 4, - "I": 1, - "_nulla_": 0 + "I": 1 } diff --git a/commands/number-edit/roman-numeral.js b/commands/number-edit/roman-numeral.js index c7b73f0b..cfb3cb14 100644 --- a/commands/number-edit/roman-numeral.js +++ b/commands/number-edit/roman-numeral.js @@ -22,6 +22,7 @@ module.exports = class RomanNumeralCommand extends Command { } run(msg, { number }) { + if (number === 0) return msg.say('_nulla_'); let result = ''; for (const [numeral, value] of Object.entries(numerals)) { while (number >= value) {