Ticket-Bot icon indicating copy to clipboard operation
Ticket-Bot copied to clipboard

error

Open Roonieee opened this issue 3 years ago • 1 comments

i keep having this error while trying to open a ticket

C:\asd\ticket-bot-main\node_modules\discord.js\src\structures\PermissionOverwrites.js:184 if (!userOrRole) throw new TypeError('INVALID_TYPE', 'parameter', 'User nor a Role'); ^

TypeError [INVALID_TYPE]: Supplied parameter is not a User nor a Role. at PermissionOverwrites.resolve (C:\asd\ticket-bot-main\node_modules\discord.js\src\structures\PermissionOverwrites.js:184:28) at C:\asd\ticket-bot-main\node_modules\discord.js\src\managers\GuildChannelManager.js:145:81 at Array.map () at GuildChannelManager.create (C:\asd\ticket-bot-main\node_modules\discord.js\src\managers\GuildChannelManager.js:145:51) at Object.execute (C:\asd\ticket-bot-main\events\interactionCreate.js:15:34) at Client. (C:\asd\ticket-bot-main\index.js:57:46) at Client.emit (node:events:549:35) at InteractionCreateAction.handle (C:\asd\ticket-bot-main\node_modules\discord.js\src\client\actions\InteractionCreate.js:83:12) at module.exports [as INTERACTION_CREATE] (C:\asd\ticket-bot-main\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (C:\asd\ticket-bot-main\node_modules\discord.js\src\client\websocket\WebSocketManager.js:346:31) { [Symbol(code)]: 'INVALID_TYPE' }

Roonieee avatar Jul 19 '22 14:07 Roonieee

I have the same issue. Developer said that I didn't configure it right. But I did.

DOSEV5 avatar Jul 24 '22 06:07 DOSEV5

I have the same issue. Developer said that I didn't configure it right. But I did.

Migueldeeteenaa avatar Sep 03 '22 02:09 Migueldeeteenaa