aboutsummaryrefslogtreecommitdiff
path: root/operator.lua
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-03-05 21:01:36 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-03-05 21:01:36 +0100
commit2e797dd24009c52fa712317038900663a5aa32ac (patch)
treece47e0bbe7d3ad4c2f9c1a1a1be7e9612e5723ed /operator.lua
parentcbfeba348cff6eacb0b7f530ba370170ef22bda0 (diff)
downloadfurrybot-discord-2e797dd24009c52fa712317038900663a5aa32ac.tar.xz
Safe search
Diffstat (limited to 'operator.lua')
-rw-r--r--operator.lua28
1 files changed, 0 insertions, 28 deletions
diff --git a/operator.lua b/operator.lua
deleted file mode 100644
index 4503374..0000000
--- a/operator.lua
+++ /dev/null
@@ -1,28 +0,0 @@
-local http, env, storage
-local C = minetest.get_color_escape_sequence
-
-furrybot.commands.reload = {
- operator = true,
- func = function()
- furrybot.reload()
- end,
-}
-
-furrybot.commands.disconnect = {
- operator = true,
- func = function()
- minetest.disconnect()
- end,
-}
-
-furrybot.list_change_command("op", "operators", "an operator", true)
-furrybot.list_change_command("deop", "operators", "an operator", nil)
-furrybot.list_command("oplist", "operators", "operators")
-
-furrybot.list_change_command("ignore", "ignored", "ignored", true)
-furrybot.list_change_command("unignore", "ignored", "ignored", nil)
-furrybot.list_command("ignorelist", "ignored", "ignored players")
-
-return function(_http, _env, _storage)
- http, env, storage = _http, _env, _storage
-end