plugins/github.lua

changeset 127
6c977fbf6d0b
parent 120
91a29c964e97
child 128
5b03c71d05f0
equal deleted inserted replaced
126:99781a97f582 127:6c977fbf6d0b
42 if issue_id then 42 if issue_id then
43 return bot:event("commands/issue", { param = issue_id, reply = message.reply, }); 43 return bot:event("commands/issue", { param = issue_id, reply = message.reply, });
44 end 44 end
45 end 45 end
46 46
47 bot:hook("message", check_for_issue_id);
48
49 bot:hook("groupchat/joining", function (room) 47 bot:hook("groupchat/joining", function (room)
50 room:hook("message", check_for_issue_id); 48 room:hook("message", check_for_issue_id);
51 end); 49 end);
52 end 50 end

mercurial