The bot deletes other servers' invites and lets yours through
The filter catches discord.gg and discord.com/invite links, including ones where the dot is written as a word. The bot lets through invites to your own server and its personal link, and does not count addresses like top.gg as invites. Links to servers on the “Allowed servers” list (up to 25) and to servers in your network also get through. With the “Block before sending” setting, Echo creates 2 Discord rules, one for profanity and one for other servers' invites, and such messages do not appear in the channel. The Echo filter works afterwards and catches workarounds that Discord does not see. You can add a server to the list by ID. The bot shows its name only if you manage that server or it is in your network. Otherwise the entry is called “Server” with its ID, and the bot fills in the name when it sees a link to that server. If Discord takes too long to say where an invite leads, the bot cannot tell whether it is foreign. Then it only deletes the message, with no timeout or warning, and writes to the log that the invite could not be checked. If the rule's action is “Log only”, the bot only writes to the log. With “Block before sending” on, Discord stops the message, and the bot still applies the rule's action (timeout, “Delete and warn”, the repeat action) and writes it to the log.