Added basic modpol.interactions.message

This commit is contained in:
Nathan Schneider
2021-04-17 21:46:14 -06:00
parent 9f65e2bdd3
commit 55c3ee9f46
3 changed files with 129 additions and 38 deletions

View File

@ -15,10 +15,10 @@ regchat = function(name, command_table)
end
-- ===================================================================
-- /dashboard
-- /modpol
-- Presents a menu of options to users
regchat(
"dashboard", {
"modpol", {
privs = {},
func = function(user)
modpol.dashboard(user)
@ -102,7 +102,7 @@ regchat(
"pollself", {
privs = {},
func = function(user, param)
modpol.binary_poll_user(user, param)
modpol.interactions.binary_poll_user(user, param)
return true, result
end,
})