Kleine Änderungen und Bugfixes
- "if not is_sudo" Texte ausgetauscht - Pattern-Fix in google_books.lua - Dateipfad in Random Pic Plugins angepasst - sh.lua überarbeitet - Neues Pattern in youtube.lua - Fix für verschiedene Dateiendungen in youtube_dl.lua
This commit is contained in:
@ -2,7 +2,7 @@ package.path = './.luarocks/share/lua/5.2/?.lua;./.luarocks/share/lua/5.2/?/init
|
||||
require("luarocks.loader")
|
||||
require("./bot/utils")
|
||||
|
||||
VERSION = '20151205'
|
||||
VERSION = '20160623'
|
||||
|
||||
-- This function is called when tg receive a msg
|
||||
function on_msg_receive (msg)
|
||||
|
@ -413,7 +413,7 @@ end
|
||||
-- Returns true if user was warned and false if not warned (is allowed)
|
||||
function warns_user_not_allowed(plugin, msg)
|
||||
if not user_allowed(plugin, msg) then
|
||||
local text = 'Du darfst diesen Befehl nicht nutzen!'
|
||||
local text = 'Das darf nur mein Meister!'
|
||||
local receiver = get_receiver(msg)
|
||||
send_msg(receiver, text, ok_cb, false)
|
||||
return true
|
||||
|
Reference in New Issue
Block a user