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/plugins/myid.lua
2015-04-14 20:21:23 +02:00

11 lines
207 B
Lua

function run(msg, matches)
return tostring(msg.from.id) .. ' ' .. tostring(is_sudo(msg))
end
return {
description = 'Zeigt deine Telegram ID',
usage = '/myid',
patterns = {'^/myid$'},
run = run
}