a0bbdba135
added shout.lua
15 lines
213 B
Lua
Executable File
15 lines
213 B
Lua
Executable File
-- Actually the simplest plugin ever!
|
|
|
|
local triggers = {
|
|
'^/ping[@'..bot.username..']*'
|
|
}
|
|
|
|
local action = function(msg)
|
|
sendMessage(msg.chat.id, 'Pong!')
|
|
end
|
|
|
|
return {
|
|
action = action,
|
|
triggers = triggers
|
|
}
|