Turned 'menu' command into 'dashboard'

This commit is contained in:
Nathan Schneider committed 2021-04-11 22:24:47 -06:00
1 parent 8feae2d57e
commit 74ecba940a
3 files changed
+14 -9

No files matched your search

@@ -1,11 +1,11 @@
-- ===================================================================
-- Function: modpol.menu(user)
-- Function: modpol.dashboard(user)
-- Params: user (string)
-- Q: Should this return a menu of commands relevant to the specific user?
-- Output: Displays a menu of commands to the user
-- TKTK currently a manually curated list---needs major improvement
modpol.menu = function(user)
modpol.dashboard = function(user)
local output = "Command list:"
for key,value in pairs(command_list) do
output = output .. "/" .. value .. " "