Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Fixed functionality for Discord.js v12 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Duckerr
Copy link

@Duckerr Duckerr commented May 9, 2021

Now compatible with new Discord.js v12, also cleaned up config to make it more user friendly

Now compatible with new Discord.js v12, also cleaned up config to make it more user friendly
@iampere4u
Copy link

(node:10940) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined
at sendOrUpdate (C:\Users\ASUS\Desktop\FivemServerStatus-master\Discord Bot\bot.js:117:40)
at offline (C:\Users\ASUS\Desktop\FivemServerStatus-master\Discord Bot\bot.js:162:5)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

@Kathou99
Copy link

I still got this error after I have updated

TypeError: Cannot read property 'id' of undefined
at ClientDataManager.newChannel (C:[BOTS][RUN]\Discord Bot\node_modules\discord.js\src\client\ClientDataManager.js:81:36)
at Guild.setup (C:[BOTS][RUN]\Discord Bot\node_modules\discord.js\src\structures\Guild.js:307:68)
at GuildCreateHandler.handle (C:[BOTS][RUN]\Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\GuildCreate.js:12:15)
at WebSocketPacketManager.handle (C:[BOTS][RUN]\Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:108:65)
at WebSocketConnection.onPacket (C:[BOTS][RUN]\Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:336:35)
at WebSocketConnection.onMessage (C:[BOTS][RUN]\Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:299:17)
at WebSocket.onMessage (C:[BOTS][RUN]\Discord Bot\node_modules\ws\lib\event-target.js:120:16)
at WebSocket.emit (events.js:376:20)
at Receiver.receiverOnMessage (C:[BOTS][RUN]\Discord Bot\node_modules\ws\lib\websocket.js:789:20)
at Receiver.emit (events.js:376:20)

Copy link

@Kathou99 Kathou99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pefect conversion to discord.js v12 if it's don't work just update your discord.js and node_timeout and depency...xd

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants