require libraries on bot/utils.lua
This commit is contained in:
parent
9d52c6103c
commit
2890acc04e
@ -1,8 +1,3 @@
|
||||
http = require("socket.http")
|
||||
https = require("ssl.https")
|
||||
URL = require("socket.url")
|
||||
json = (loadfile "./libs/JSON.lua")()
|
||||
serpent = (loadfile "./libs/serpent.lua")()
|
||||
require("./bot/utils")
|
||||
|
||||
VERSION = '0.9.4'
|
||||
|
@ -1,5 +1,10 @@
|
||||
local mimetype = (loadfile "./libs/mimetype.lua")()
|
||||
local ltn12 = require "ltn12"
|
||||
http = require "socket.http"
|
||||
https = require "ssl.https"
|
||||
ltn12 = require "ltn12"
|
||||
URL = require "socket.url"
|
||||
json = (loadfile "./libs/JSON.lua")()
|
||||
serpent = (loadfile "./libs/serpent.lua")()
|
||||
mimetype = (loadfile "./libs/mimetype.lua")()
|
||||
|
||||
function get_receiver(msg)
|
||||
if msg.to.type == 'user' then
|
||||
|
Reference in New Issue
Block a user