You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You received the error because you haven't mentioned a user. Mentioning a user should fix the issue.
Now, let's suppose...you don't want the error to pop or want a custom error.
Then, use $onlyIf[] function with a condition to check if the author has mentioned a user.
Here's an example,
$nomention
$onlyIf[$mentioned[1]!=;You need to mention an user!]
$username[$mentioned[1]]#$discriminator[$mentioned[1]]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions