This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot-2/miku/plugins/about.lua
Andreas Bielawski 97981c7816 Fix
2016-08-25 14:47:51 +02:00

21 lines
534 B
Lua

local about = {}
local bot = require('miku.bot')
about.command = 'about'
about.doc = '`Sendet Informationen über den Bot.`'
function about:init(config)
about.text = config.about_text .. '\n[Mikudayobot](https://github.com/Akamaru/Mikubot-V2) v'..bot.version..' von @Akamaru, basierend auf [otouto](https://github.com/topkecleon/otouto) von topkecleon.'
about.triggers = {
'^/about$',
'^/start$'
}
end
function about:action(msg, config)
utilities.send_message(msg.chat.id, about.text, true, nil, true)
end
return about