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:
@@ -1,6 +1,6 @@
|
||||
module.exports = (random, kys, default_text, bot_text, excluded_names) => (ctx) => {
|
||||
|
||||
if (ctx.message.reply_to_message) {
|
||||
if (ctx.message.reply_to_message && !ctx.message.reply_to_message.is_topic_message) {
|
||||
|
||||
const { from } = ctx.message.reply_to_message;
|
||||
const name = from.username ? "@" + from.username : from.first_name;
|
||||
|
||||
Reference in New Issue
Block a user