Jump to content

error codes when submit ticket

Work in Progress 1.4.4

HOA Rust
HOA Rust

Posted

im getting this error when trying to submit tickets any idea how to fix this issue?

TypeError: Cannot read properties of undefined (reading 'createChannel')

shady14u

Posted

Verify the config has the proper channel Id for what it is trying to post

 

shady14u

Posted

Changed Status from Pending to Work in Progress

HOA Rust

Posted

it does indeed have correct channel id

 

HOA Rust

Posted

this is the full error i get

TypeError: Cannot read properties of undefined (reading 'createChannel')
    at Client.<anonymous> (/home/container/index.js:531:29)
    at Client.emit (node:events:508:28)
    at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:83:12)
    at module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
    at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
    at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:493:22)
    at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:327:10)
    at callListener (/home/container/node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:209:9)
    at WebSocket.emit (node:events:508:28)

shady14u

Posted

Make sure you have a Ticket Name defined and you are trying to create that ticket. It should create a channel with the "TicketName - UserName"

 

HOA Rust

Posted

im not sure what you mean by that

HOA Rust

Posted

please help, ive tried everything i can think of and i still cant get the bot to work, still get these errors

 

TypeError: Cannot read properties of undefined (reading 'createChannel')
    at Client.<anonymous> (/home/container/index.js:531:29)
    at Client.emit (node:events:509:28)
    at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:83:12)
    at module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
    at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
    at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:493:22)
    at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:327:10)
    at callListener (/home/container/node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:209:9)
    at WebSocket.emit (node:events:509:28)
TypeError: Cannot read properties of undefined (reading 'createChannel')
    at Client.<anonymous> (/home/container/index.js:531:29)
    at Client.emit (node:events:509:28)
    at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:83:12)
    at module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
    at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
    at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:493:22)
    at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:327:10)
    at callListener (/home/container/node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:209:9)
    at WebSocket.emit (node:events:509:28)

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.3k
Total sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.