Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do
- local function run(msg, matches)
- if matches[1] == 'me' then
- if is_sudo(msg) then
- return "you're sudo"
- elseif is_admin(msg) then
- return "you're admin"
- elseif is_owner(msg) then
- return "you're the owner
- elseif is_momod(msg) then
- return "you're a moderator"
- else
- return "you're just a member"
- end
- end
- end
- return {
- patterns = {
- "^[!/](me)$"
- },
- run = run
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement