summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7579384..76397be 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,9 @@
furrybot = {}
+local path = minetest.get_modpath("furrybot")
+
+utf8 = dofile(path .. "/utf8.lua")
+
local http = minetest.request_http_api()
local env = minetest.request_insecure_environment()
local storage = minetest.get_mod_storage()
@@ -8,4 +12,4 @@ libclamity.register_on_chat_message(function(...)
furrybot.parse_message(...)
end)
-loadfile(minetest.get_modpath("furrybot") .. "/bot.lua")()(http, env, storage)
+loadfile(path .. "/bot.lua")()(http, env, storage)