Nightbot ping a discord member

Asked Mar 4, 2021·2 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hello, I have been using nightbot for a very long time and I love it but I have a problem. In discord when someone says !cmds which I added I want nighbot to ping that person like Jason#1234 said !commands I want it to ping the person not just say @member#1234

2 replies

Assuming you use Nightbot for both Twitch and Discord, you could do add this:

$(eval '$(provider)' === 'discord' ? '<@$(userid)>' : '@$(user)')

Whenever someone uses the command in Discord, it will tag/ping them, but any other place it will just be @Username

Mighty Cricket said:
$(eval '$(provider)' === 'discord' ? '<@$(userid)>' : '@$(user)')

Thank you so much very much