blob: 76397be3cc280cdee8cc4cdbce691535f76e249a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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()
libclamity.register_on_chat_message(function(...)
furrybot.parse_message(...)
end)
loadfile(path .. "/bot.lua")()(http, env, storage)
|