20 lines
563 B
Lua
20 lines
563 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 = {
|
|
'/[Aa][Bb][Oo][Uu][Tt]',
|
|
'/[Ss][Tt][Aa][Rr][Tt]'
|
|
}
|
|
end
|
|
|
|
function about:action(msg, config)
|
|
utilities.send_message(self, msg.chat.id, about.text, true, nil, true)
|
|
end
|
|
|
|
return about |