mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-10-13 00:14:26 +00:00
feat: ignore pinned message service events in fallback handler (#2)
This commit is contained in:
1 parent
4651f11af7
commit
59ae67c889
1 file changed
+1
@@ -157,6 +157,7 @@ function createBot(token) {
|
||||
registerInfoCommands(bot);
|
||||
|
||||
bot.on("message", async (ctx) => {
|
||||
if (ctx.message?.pinned_message) return;
|
||||
const replyTo = ctx.message?.reply_to_message;
|
||||
if (replyTo && replyTo.from?.id === ctx.me.id) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user