Advertisement
psycholyzern

reply.lua

Oct 11th, 2015
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local function run(msg, matches)
  2.   reply_msg(msg.id, "test", ok_cb, false)
  3. end
  4.  
  5. return {
  6.    description = "Test reply.",
  7.    usage = {
  8.       "!reply [msg]"
  9.    },
  10.    patterns = {
  11.       "^!reply (.*)$"
  12.    },
  13.    run = run,
  14.    hide = true
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement