Compare commits
2 Commits
9b41271e85
...
e06c85f448
Author | SHA1 | Date |
---|---|---|
Ceda EI | e06c85f448 | |
Ceda EI | f0a918f77e |
|
@ -14,6 +14,10 @@ module.exports = (forms, gifs) => (ctx) => {
|
|||
const message = ctx.message.text.replace(/^[^ ]+\s*/, "")
|
||||
.match(/^((@\w+(\s+|$))*)(.*)/);
|
||||
const users = message[1].trim().split(" ").filter(i => i.length);
|
||||
const rtm = ctx.message.reply_to_message;
|
||||
if (rtm)
|
||||
users.push(rtm.from.username ? "@" + rtm.from.username
|
||||
: rtm.from.first_name);
|
||||
const reason = message[4];
|
||||
let reply = "";
|
||||
const from = ctx.message.from;
|
||||
|
|
Loading…
Reference in New Issue