From 8e2c20da3c5b275ffe27df7a76f7c2739cf15498 Mon Sep 17 00:00:00 2001 From: Cohee Date: Sun, 4 Jun 2023 00:40:51 +0300 Subject: [PATCH] Add alias to roll the dice --- public/scripts/extensions/dice/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/extensions/dice/index.js b/public/scripts/extensions/dice/index.js index c49cdcdfc..64abde1bb 100644 --- a/public/scripts/extensions/dice/index.js +++ b/public/scripts/extensions/dice/index.js @@ -93,5 +93,5 @@ jQuery(function () { addDiceRollButton(); moduleWorker(); setInterval(moduleWorker, UPDATE_INTERVAL); - registerSlashCommand('roll', (_, value) => doDiceRoll(value), [], "(dice formula) – roll the dice. For example, /roll 2d6", false, true); + registerSlashCommand('roll', (_, value) => doDiceRoll(value), ['r'], "(dice formula) – roll the dice. For example, /roll 2d6", false, true); });