Compare commits
No commits in common. "e06c85f4488f43e3009594988dfc46cdfa117402" and "9b41271e8541d668c2279c6921397b5a193b0b37" have entirely different histories.
e06c85f448
...
9b41271e85
|
@ -14,10 +14,6 @@ module.exports = (forms, gifs) => (ctx) => {
|
||||||
const message = ctx.message.text.replace(/^[^ ]+\s*/, "")
|
const message = ctx.message.text.replace(/^[^ ]+\s*/, "")
|
||||||
.match(/^((@\w+(\s+|$))*)(.*)/);
|
.match(/^((@\w+(\s+|$))*)(.*)/);
|
||||||
const users = message[1].trim().split(" ").filter(i => i.length);
|
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];
|
const reason = message[4];
|
||||||
let reply = "";
|
let reply = "";
|
||||||
const from = ctx.message.from;
|
const from = ctx.message.from;
|
||||||
|
|
Loading…
Reference in New Issue