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

11 lines
207 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
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
}