Kleine Fixes
This commit is contained in:
parent
e3f1969ca4
commit
d8b0a97c9f
@ -467,6 +467,7 @@ function create_cred()
|
||||
google_cse_id = "",
|
||||
gitlab_private_token = "",
|
||||
gitlab_project_id = "",
|
||||
ibsearch_api_key = "",
|
||||
iframely_api_key = "",
|
||||
instagram_access_token = "",
|
||||
lyricsnmusic_apikey = "",
|
||||
|
@ -163,7 +163,7 @@ function gImages:action(msg, config, matches)
|
||||
|
||||
print ('Checking if search contains blacklisted word: '..input)
|
||||
if gImages:is_blacklisted(input) then
|
||||
utilities.send_reply(msg, 'Vergiss es! ._.')
|
||||
utilities.send_reply(msg, 'Vergiss es!')
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -23,7 +23,7 @@ function ibSearch:get_ibSearch_sfw(tag)
|
||||
if not data then return end
|
||||
|
||||
local i = math.random(#data)
|
||||
local url = 'https://im1.ibsear.ch/'..data[i].path
|
||||
local url = 'https://'..data[i].server..'.ibsear.ch/'..data[i].path
|
||||
local resolution = data[i].width..'x'..data[i].height..'px'
|
||||
local size = ' '..math.ceil(data[i].size/1000)..'kb'
|
||||
local source_url = '\nhttps://ibsear.ch/images/'..data[i].id
|
||||
@ -38,7 +38,7 @@ function ibSearch:get_ibSearch_nsfw(tag)
|
||||
if not data then return end
|
||||
|
||||
local i = math.random(#data)
|
||||
local url = 'https://im1.ibsearch.xxx/'..data[i].path
|
||||
local url = 'https://'..data[i].server..'.ibsearch.xxx/'..data[i].path
|
||||
local resolution = data[i].width..'x'..data[i].height..'px'
|
||||
local size = ' '..math.ceil(data[i].size/1000)..'kb'
|
||||
local source_url = '\nhttps://ibsearch.xxx/images/'..data[i].id
|
||||
|
Reference in New Issue
Block a user