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 |