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.
2016-07-17 13:22:27 +02:00
local about = { }
local bot = require ( ' miku.bot ' )
about.command = ' about '
about.doc = ' `Sendet Informationen über den Bot.` '
2016-08-15 23:14:28 +02:00
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 = {
2016-07-18 18:37:29 +02:00
' /[Aa][Bb][Oo][Uu][Tt] ' ,
' /[Ss][Tt][Aa][Rr][Tt] '
2016-07-17 13:22:27 +02:00
}
2016-08-15 23:14:28 +02:00
end
2016-07-17 13:22:27 +02:00
function about : action ( msg , config )
2016-08-15 23:14:28 +02:00
utilities.send_message ( self , msg.chat . id , about.text , true , nil , true )
2016-07-17 13:22:27 +02:00
end
2016-08-15 23:14:28 +02:00
return about