Server Tag checker bot

How can you create a bot that checks whether a person has a specific server tag?
16 Replies
d.js toolkit
d.js toolkit•2mo ago
treble/luna
treble/luna•2mo ago
djs does not yet support server tags It will be added in the next release
Mark
Mark•2mo ago
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)
QDave
QDave•2mo ago
wait that works?
treble/luna
treble/luna•2mo ago
yes
Forever Gaming
Forever Gaming•2mo ago
Just use raw?
treble/luna
treble/luna•2mo ago
we do not support listening to raw events and this
Lau Win🎗✡
Lau Win🎗✡OP•2mo ago
Can you elaborate on that?
Steve
Steve•2mo ago
when you use Oauth2 (identify) you get the tag when a user authenticates
Lau Win🎗✡
Lau Win🎗✡OP•2mo ago
But there is no option to see server tag
Mark
Mark•2mo ago
No description
Mark
Mark•2mo ago
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
Lau Win🎗✡
Lau Win🎗✡OP•2mo ago
Where do I define this?
Mark
Mark•2mo ago
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
Lau Win🎗✡
Lau Win🎗✡OP•2mo ago
k thnks

Did you find this page helpful?