Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629170
ping.mattata
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
455 B
Referenced Files
None
Subscribers
None
ping.mattata
View Options
--[[
Copyright 2020 Matthew Hesketh <wrxck0@gmail.com>
This code is licensed under the MIT. See LICENSE for details.
]]
local ping = {}
local mattata = require('mattata')
function ping:init()
ping.commands = mattata.commands(self.info.username):command('ping').table
ping.help = '/ping - PONG!'
end
function ping.on_message(_, message)
return mattata.send_sticker(message.chat.id, 'CAADBAAD1QIAAlAYNw2Pr-ymr7r8TgI')
end
return ping
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 6:07 AM (9 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
152112
Default Alt Text
ping.mattata (455 B)
Attached To
Mode
R69 mattata
Attached
Detach File
Event Timeline