Matthew James
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.
That makes sense, thank you
16 replies
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.
oh, right, okay
16 replies
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.
Cached structure as in the cached guild?
16 replies
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.
No description
16 replies
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.
first line is console.log(typeof options.memberId)
16 replies
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.
Full Stack Trace
string
[Nest] 79063 - 2024-05-07, 12:49:33 p.m. ERROR [ExceptionsHandler] Supplied parameter is not a User nor a Role.
TypeError [InvalidType]: Supplied parameter is not a User nor a Role.
at Function.resolve (/Users/mj/Documents/uncommon-edu/integration-backend/node_modules/discord.js/src/structures/PermissionOverwrites.js:184:28)
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/discord.js/src/managers/GuildChannelManager.js:169:89
at Array.map (<anonymous>)
at GuildChannelManager.create (/Users/mj/Documents/uncommon-edu/integration-backend/node_modules/discord.js/src/managers/GuildChannelManager.js:169:51)
at MetaService.openNewChannel (/Users/mj/Documents/uncommon-edu/integration-backend/src/meta/meta.service.ts:58:53)
at AppController.getPing (/Users/mj/Documents/uncommon-edu/integration-backend/src/app.controller.ts:16:28)
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/router/router-execution-context.js:38:29
at InterceptorsConsumer.intercept (/Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/interceptors/interceptors-consumer.js:11:20)
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/router/router-execution-context.js:46:60
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/router/router-proxy.js:9:23
string
[Nest] 79063 - 2024-05-07, 12:49:33 p.m. ERROR [ExceptionsHandler] Supplied parameter is not a User nor a Role.
TypeError [InvalidType]: Supplied parameter is not a User nor a Role.
at Function.resolve (/Users/mj/Documents/uncommon-edu/integration-backend/node_modules/discord.js/src/structures/PermissionOverwrites.js:184:28)
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/discord.js/src/managers/GuildChannelManager.js:169:89
at Array.map (<anonymous>)
at GuildChannelManager.create (/Users/mj/Documents/uncommon-edu/integration-backend/node_modules/discord.js/src/managers/GuildChannelManager.js:169:51)
at MetaService.openNewChannel (/Users/mj/Documents/uncommon-edu/integration-backend/src/meta/meta.service.ts:58:53)
at AppController.getPing (/Users/mj/Documents/uncommon-edu/integration-backend/src/app.controller.ts:16:28)
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/router/router-execution-context.js:38:29
at InterceptorsConsumer.intercept (/Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/interceptors/interceptors-consumer.js:11:20)
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/router/router-execution-context.js:46:60
at /Users/mj/Documents/uncommon-edu/integration-backend/node_modules/@nestjs/core/router/router-proxy.js:9:23
16 replies
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.
its a string yes
16 replies
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.
node v21.7.3
16 replies
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.
[email protected] /Users/mj/Documents/uncommon-edu/integration-backend
├─┬ @discord-nestjs/[email protected]
│ └── [email protected] deduped
[email protected] /Users/mj/Documents/uncommon-edu/integration-backend
├─┬ @discord-nestjs/[email protected]
│ └── [email protected] deduped
16 replies