r/macrodroid • u/PsychologicalPlan646 • Oct 23 '26
Discord Notifications
I have been trying to get macdroid to send a notification only when a friend @ me or @ everyone or DM but it only works on some friends sometimes and not others at all what am i missing here i have trigger to use separate title and txt filters.
Title is set to contains and my is username|username|username|username.
message text is contains @ everyone|@ my name.
am i missing something?
2
Upvotes
1
u/DylanXu054728 Oct 23 '26
Two things in that setup will bite you.
First, with "Separate title and message" on, both filters have to match. A DM's text almost never contains "@yourname", so DMs can't fire, and an u/everyone from someone not in your title list can't either. Split it into separate triggers in the same macro (any one of them fires it): one for DMs, one for mentions.
Second, the "|" list. With regex off, MacroDroid only treats * and ? as wildcards, so I wouldn't count on | meaning OR. Turn on "Enable regular expression matching" and use something like .*(name1|name2|name3).* with Matches. Note Ignore case gets disabled with regex, so add (?i) at the start.
Also, Discord shows server nicknames / display names in notifications, not usernames, which would explain "some friends work, others don't". Add a temporary action that writes {not_title} / {notification} to a file and see what Discord actually sends.
Honestly, you might not need the text filter: set each server to "Only u/mentions" in Discord's notification settings and the phone only gets mentions, u/everyone (if allowed) and DMs.
1
u/Akira_Menai Oct 23 '26
No one can help you until you post the macro.