Bereite Release vor
This commit is contained in:
parent
f3e04bc046
commit
89ff787b09
@ -17,7 +17,7 @@ function about:action(msg, config)
|
|||||||
-- disabled to restore old behaviour
|
-- disabled to restore old behaviour
|
||||||
-- if msg.forward_from then return end
|
-- if msg.forward_from then return end
|
||||||
|
|
||||||
local output = config.about_text .. '\nBrawlbot v2, basierend auf Otouto von topkecleon.'
|
local output = config.about_text .. '\nBrawlbot v2.0, basierend auf Otouto von topkecleon.'
|
||||||
|
|
||||||
if
|
if
|
||||||
(msg.new_chat_participant and msg.new_chat_participant.id == self.info.id)
|
(msg.new_chat_participant and msg.new_chat_participant.id == self.info.id)
|
||||||
|
@ -32,10 +32,10 @@ function control:action(msg, config)
|
|||||||
config[k] = v
|
config[k] = v
|
||||||
end end
|
end end
|
||||||
bot.init(self, config)
|
bot.init(self, config)
|
||||||
utilities.send_reply(self, msg, 'Bot reloaded!')
|
utilities.send_reply(self, msg, 'Bot neu gestartet!')
|
||||||
elseif msg.text_lower:match('^'..cmd_pat..'halt') then
|
elseif msg.text_lower:match('^'..cmd_pat..'halt') then
|
||||||
self.is_started = false
|
self.is_started = false
|
||||||
utilities.send_reply(self, msg, 'Stopping bot!')
|
utilities.send_reply(self, msg, 'Stoppe Bot!')
|
||||||
elseif msg.text_lower:match('^'..cmd_pat..'script') then
|
elseif msg.text_lower:match('^'..cmd_pat..'script') then
|
||||||
local input = msg.text_lower:match('^'..cmd_pat..'script\n(.+)')
|
local input = msg.text_lower:match('^'..cmd_pat..'script\n(.+)')
|
||||||
if not input then
|
if not input then
|
||||||
|
Reference in New Issue
Block a user