]> git.lizzy.rs Git - furrybot.git/blob - operator.lua
Japanese waifu names
[furrybot.git] / operator.lua
1 local http, env, storage
2 local C = minetest.get_color_escape_sequence
3
4 furrybot.commands.reload = {
5         operator = true,
6         func = function()
7                 furrybot.reload()
8         end,
9 }
10
11 furrybot.commands.disconnect = {
12         operator = true,
13         func = function()
14                 minetest.disconnect()
15         end,
16 }
17
18 furrybot.list_change_command("op", "operators", "an operator", true)
19 furrybot.list_change_command("deop", "operators", "an operator", nil)
20 furrybot.list_command("oplist", "operators", "operators")
21
22 furrybot.list_change_command("ignore", "ignored", "ignored", true)
23 furrybot.list_change_command("unignore", "ignored", "ignored", nil)
24 furrybot.list_command("ignorelist", "ignored", "ignored players")
25
26 return function(_http, _env, _storage)
27         http, env, storage = _http, _env, _storage
28 end