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

29 lines
519 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.
2015-07-11 03:50:06 +02:00
Use /help for a list of commands.
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
]] -- Please do not remove this message.
send_message(msg.chat.id, message, true)
2015-07-11 03:50:06 +02:00
end
return PLUGIN