summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-11-12 15:30:49 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-11-12 15:30:49 +0100
commit9ef2b8fe1f3a13784c12f8fbdcbbc1b0154ca689 (patch)
tree7ceccd945c8e6e4b945c569aaa085d5dd63e8017 /init.lua
parent19cd4e7ea97d08d61b5ba650a471bbd2e814d779 (diff)
downloadfurrybot-master.tar.xz
Japanese waifu namesHEADmaster
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)