bugfixes to get delete and add_org requests to work. Working!

This commit is contained in:
Nathan Schneider
2021-08-04 22:47:02 -06:00
parent fa4283dce6
commit c26f11cd99
4 changed files with 30 additions and 33 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
-- ===================================================================
-- /orgs.lua
-- INTERACTIONS.LUA (CLI)
-- User interaction functions for Modular Politics
-- Called by modpol.lua
@@ -177,10 +177,10 @@ function modpol.interactions.binary_poll_user(user, question, func)
until answer == "y" or answer == "n"
if answer == "y" then
modpol.interactions.message(user, "Response recorded")
func("yes")
func("Yes")
elseif answer == "n" then
modpol.interactions.message(user, "Response recorded")
func("no")
func("No")
else
modpol.interactions.message(user, "Error: invalid response")
end