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/plugins/about.lua

32 lines
578 B
Lua
Raw Normal View History

2015-07-11 03:50:06 +02:00
local PLUGIN = {}
PLUGIN.doc = [[
/about
Information about the bot.
]]
PLUGIN.triggers = {
'^/about',
'^/info'
}
function PLUGIN.action(msg)
local message = [[
I am ]] .. bot.first_name .. [[: a plugin-wielding, multi-purpose Telegram bot.
Send /help for a list of commands.
2015-07-11 03:50:06 +02:00
Based on otouto v]] .. VERSION .. [[ by @topkecleon.
2015-07-11 03:58:24 +02:00
otouto v2 is licensed under the GPLv2.
2015-07-11 03:50:06 +02:00
topkecleon.github.io/otouto
Join the update/news channel!
telegram.me/otouto
]] -- Please do not remove this message. ^.^
2015-07-11 03:50:06 +02:00
send_message(msg.chat.id, message, true)
2015-07-11 03:50:06 +02:00
end
return PLUGIN