Guild Tag Interaction

Does anyone think it's possible to create a discord bot that automatically allows someone to run a /tag command that will automatically change the tag of a guild? For example, a guild's tag could be "DJS" and someone could join and run the command /tag name:d.js and it would automatically post to the Discord API to update the tag from "DJS" to "d.js" - I imagine this would probably require the guild owner's token as an authorization header and probably have to have like a 2-3 minute cooldown because there's already a rate limit / cooldown but if there's a usable API, oh my god there's so much potential -# I hope this makes sense<3
7 Replies
d.js toolkit
d.js toolkit2d ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
TYavaJ
TYavaJOP2d ago
Basically the concept is a discord bot that automatically update a guild's tag without the owner having to change it manually and yes, I'm aware there's no official discord.js support for this, so the actual core mechanic would have to done manually; I'm just not that good at reverse engineering a website that crawls to 0.1fps the second inspect element is opened ¯\_(ツ)_/¯
monbrey
monbrey2d ago
I dont think its possible since tags are undocumented If you do want to reverse engineer exactly which API call it is, and it allows bot tokens to make that API call, sure Or even Oauth2 tokens But all of this makes it entirely unrelated to discord.js Anything involving a user's actual token being used in an automated fashion would qualify and selfbotting, and therefore be breaking the ToS
TYavaJ
TYavaJOP2d ago
I guess that's true It would be doing this, which I suppose is against ToS
monbrey
monbrey2d ago
Indeed
TYavaJ
TYavaJOP2d ago
but it is theoretically possible
monbrey
monbrey2d ago
We do not provide support for things that break the ToS :mmLol:

Did you find this page helpful?