Progress on bugfixes and Minetest interfaces, but processes are still not completing
This commit is contained in:
1 parent
3775f77c2e
commit
30e25aee3d
4 files changed
+123
-42
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user