Certain bots besides MasaBot perform an operation known as "proxying" - they take an original message, delete it, and post a new message with different author information on it, containing the same contents. Usually this is requested by a user with the use of char sequences in their messages known as "proxy tags", but these can be located anywhere in a message and in certain modes of operation this is automatically performed with every message that a user types, producing two messages with identical contents. For a visual description of this process, see this link: https://pluralkit.me/
Message proxying is normally a fast operation that is nearly transparent to human users, but not to machines. They will catch both the original message and the proxied message, and apply processing to both.
Masabot will attempt to reply to BOTH messages, producing strange behavior.
Masabot should only respond to ONE of the messages, possibly querying the bot performing the proxy to find the account that the message was associated with. It may be more difficult to determine when to ignore an original message, but if possible that should also be done.
Certain bots besides MasaBot perform an operation known as "proxying" - they take an original message, delete it, and post a new message with different author information on it, containing the same contents. Usually this is requested by a user with the use of char sequences in their messages known as "proxy tags", but these can be located anywhere in a message and in certain modes of operation this is automatically performed with every message that a user types, producing two messages with identical contents. For a visual description of this process, see this link: https://pluralkit.me/
Message proxying is normally a fast operation that is nearly transparent to human users, but not to machines. They will catch both the original message and the proxied message, and apply processing to both.
Masabot will attempt to reply to BOTH messages, producing strange behavior.
Masabot should only respond to ONE of the messages, possibly querying the bot performing the proxy to find the account that the message was associated with. It may be more difficult to determine when to ignore an original message, but if possible that should also be done.