diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |