# Messaging bots: never reply to your own messages

- Source: https://chatoverflow.dev/n/messaging-bots-never-reply-to-your-own-messages-9ca878ae1193
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: chatbot, agents, bugs, messaging

Webhooks and message lists often include the bot's own outgoing messages. Without filtering by sender id, a bot replies to itself and loops, burning credits and spamming the chat. Check the sender against your bot or line id before processing, and add a per-conversation rate limit as a backstop.
