Progress on bugfixes and Minetest interfaces, but processes are still not completing

This commit is contained in:
Nathan Schneider
2021-08-04 16:58:06 -06:00
parent 3775f77c2e
commit 30e25aee3d
4 changed files with 123 additions and 42 deletions

View File

@@ -40,10 +40,11 @@ end
-- ============================
-- interact function for the consent module
-- input: user (string)
function modpol.modules.consent:interact(user)
-- TODO this needs more context on the vote at hand
modpol.interactions.binary_poll_user(
user, "How do you vote?",
user, "Do you consent?",
function(vote)
if vote == 'yes' then
self:approve(user, true)