#Embed Button not doing anything

7 messages · Page 1 of 1 (latest)

visual grail
#

Im not getting any errors. This is v 14.8.0.

hollow gate
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

visual grail
#

my issue is i want this to open a channel on button interaction, but idk if the collector is working properly. any help would be a godsend

glacial sail
#

componentType is a number. Import the ComponentType enumeration

visual grail
fickle perch
visual grail
#

@fickle perch it does, but oddly enough when i add the log into the collect method i get this error:

Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'tag')
at createChannel (undefined:72:46)
at <anonymous> (undefined:64:11)
at processTicksAndRejections (undefined:95:5)