mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2026-05-06 05:40:04 +02:00
Update telegraf to 4.15
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = (forms, getGif) => (ctx) => {
|
||||
.match(/^((@\w+(\s+|$))*)(.*)/);
|
||||
const users = message[1].trim().split(" ").filter(i => i.length);
|
||||
const rtm = ctx.message.reply_to_message;
|
||||
if (rtm)
|
||||
if (rtm && !rtm.is_topic_message)
|
||||
users.push(rtm.from.username ? "@" + rtm.from.username
|
||||
: rtm.from.first_name);
|
||||
const reason = message[4];
|
||||
|
||||
Reference in New Issue
Block a user