]> git.lizzy.rs Git - furrybot.git/blob - init.lua
Structure overhaul
[furrybot.git] / init.lua
1 furrybot = {}
2
3 local http = minetest.request_http_api()
4 local env = minetest.request_insecure_environment()
5 local storage = minetest.get_mod_storage()
6
7 libclamity.register_on_chat_message(function(...)
8         furrybot.parse_message(...)
9 end)
10
11 loadfile(minetest.get_modpath("furrybot") .. "/bot.lua")()(http, env, storage)