From 0517ab88b36d96f2c5bd5ed3de1911339c0c9323 Mon Sep 17 00:00:00 2001 From: Phillip Daw Date: Tue, 7 Nov 2023 20:18:12 -0800 Subject: [PATCH 1/3] make max number of die less arbitrary --- scripts/dice.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dice.coffee b/scripts/dice.coffee index 8a18510d..03e882dc 100644 --- a/scripts/dice.coffee +++ b/scripts/dice.coffee @@ -46,8 +46,8 @@ module.exports = (robot) -> answer = if sides < 2 "You want to roll dice with less than two sides. Wow." - else if dice > 100 - "I'm not going to roll more than 100 dice for you." + else if dice > 127 + "I'm not going to roll more than 127 dice for you." else report modifier, roll(dice, sides, meta_modifiers), meta_modifiers['success_func'] msg.reply answer From d938358d3797b5fbddbd83da996e9cbca783e9f9 Mon Sep 17 00:00:00 2001 From: Phillip Daw Date: Tue, 7 Nov 2023 20:29:12 -0800 Subject: [PATCH 2/3] abbreviated help command --- scripts/vote.coffee | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/vote.coffee b/scripts/vote.coffee index b8da6392..75c53ead 100644 --- a/scripts/vote.coffee +++ b/scripts/vote.coffee @@ -115,11 +115,9 @@ module.exports = (robot) -> robot.respond /vote\??$/i, (msg) -> msg.send """Voting allows you to pretend you have the power of a god. Supported commands: - .vote? - This help noise +# .vote? - This help noise .voting? - What is going on, RIGHT NOW. - .vote yes - Vote yes in the current vote - .vote no - Vote no in the current vote - .vote random - Vote one way or the other, who cares + .vote yes / no / random - Vote in the current... vote. .vote [duration] topic - Propose a new topic, with optional duration (in minutes) .vote [duration] on - Vote on a thing, with optional duration (in minutes) """ From 8f9e53d867e561f605803bc5e060663dc25a6ad5 Mon Sep 17 00:00:00 2001 From: Phillip Daw Date: Tue, 5 Dec 2023 09:12:06 -0800 Subject: [PATCH 3/3] Revert "abbreviated help command" moving to its own commit This reverts commit d938358d3797b5fbddbd83da996e9cbca783e9f9. --- scripts/vote.coffee | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/vote.coffee b/scripts/vote.coffee index 75c53ead..b8da6392 100644 --- a/scripts/vote.coffee +++ b/scripts/vote.coffee @@ -115,9 +115,11 @@ module.exports = (robot) -> robot.respond /vote\??$/i, (msg) -> msg.send """Voting allows you to pretend you have the power of a god. Supported commands: -# .vote? - This help noise + .vote? - This help noise .voting? - What is going on, RIGHT NOW. - .vote yes / no / random - Vote in the current... vote. + .vote yes - Vote yes in the current vote + .vote no - Vote no in the current vote + .vote random - Vote one way or the other, who cares .vote [duration] topic - Propose a new topic, with optional duration (in minutes) .vote [duration] on - Vote on a thing, with optional duration (in minutes) """