29 lines
785 B
Lua
29 lines
785 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..[[
|
|
|
|
*Mikubot v]]..bot.version..[[* von *Akamaru*, basierend auf [otouto](https://github.com/topkecleon/otouto) von *topkecleon*.
|
|
• [Code auf GitHub](https://github.com/Akamaru/Mikubot-V2)
|
|
• [Mikubot Homepage](https://ponywave.de/projekte/mikubot-v2/)
|
|
• [Autor Homepage](http://akamaru.de/)
|
|
• [Autor in Telegram](https://telegram.me/Akamaru)
|
|
• [Mikubot Telegram Kanal](https://telegram.me/Mikubot_Updates)]]
|
|
|
|
about.triggers = {
|
|
'^/about$',
|
|
'^/start$'
|
|
}
|
|
end
|
|
|
|
function about:action(msg, config)
|
|
utilities.send_message(msg.chat.id, about.text, true, nil, true)
|
|
end
|
|
|
|
return about
|