Matthew James
DIAdiscord.js - Imagine an app
•Created by Matthew James on 5/7/2024 in #djs-questions
TypeError [InvalidType]: Supplied parameter is not a User nor a Role.
Hey everyone, running into a weird error trying to create a channel with specific permissions.
The parentGuild object was fetched using client.guilds.fetch() (part of a class thats constructed at startup). options.memberId is also 100% a user snowflake, its being passed in via an api route but it's copied right from the discord client. I've also tried with
id: "snowflake"
to no avail. Can anyone figure out whats going on.16 replies