GuildForumTag not working on discord.js v14.16.3 on my API
It shows null even though the user has a tag.
7 Replies
- 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 OPon the assumption
guild
is a Guild
, <Guild>.tags
doesn't exist
you can access a forum's tags from <ForumChannel>.availableTags
unless when you suddenly mention a user having a tag, you mean the thread in a forum channel?
in which case, you can access <ThreadChannel>.appliedTags
:property: ForumChannel#availableTags
@14.16.3
The set of tags that can be used in this channel.
:property: ThreadChannel#appliedTags @14.16.3
The tags applied to this threadI mean clan/guild tags https://discord.js.org/docs/packages/discord.js/main/GuildForumTag
discord.js
discord.js
discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
well
GuildForumTag
is for forum channels, hence the presence of Forum
in the name
and to further clarify in case you weren't aware, Guild
refers to servers in the api
I don't believe you're currently able to access a user's clan through the api
or rather it does not appear to be documented, and therefore is not yet supported in discord.js👍