Server Tag checker bot
How can you create a bot that checks whether a person has a specific server tag?
16 Replies
djs does not yet support server tags
It will be added in the next release
fwiw you could currently use an automod rule to monitor tags (again, not in d.js, but it'd be automated once you set it up in discord)
wait that works?
yes
Just use raw?
we do not support listening to raw events
and this
Can you elaborate on that?
when you use Oauth2 (identify) you get the tag when a user authenticates
https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-trigger-types the member profile trigger type
But there is no option to see server tag

Yes it can, discord automod can catch the tag updates, same as name changes
You need to set it manually right now until d.js has support for it, but it's doable and a good current solution for what the OP asked for
Where do I define this?
I dunno, I haven't used automod myself. At this point, your questions are outside the scope of this post and channel, since it isn't supported in d.js and you're asking how to do something as a regular user, not through the library. You could try asking in #general and see if someone can answer there, but there's no guarantee
k thnks