Skip to content

DeprecationWarning: The ready event has been renamed to clientReady to distinguish it from the gateway READY event and will only emit under that name in v15. Please use clientReady instead. #515

Description

@Tomato6966

Discord.js updated in the latest version their client.on("ready") event to clientReady.

In my PR that change is represented, where also a prisma example for the issues: #511 and #479 is placed. and all examples are also migrated to clientReady, as well as an update to latest discord.js

My PR is: #480

DeprecationWarning: The ready event has been renamed to clientReady to distinguish it from the gateway READY event and will only emit under that name in v15. Please use clientReady instead.
      at triggerClientReady (/home/coder/Mivator/node_modules/discord.js/src/client/websocket/WebSocketManager.js:389:15)
      at checkShardsReady (/home/coder/Mivator/node_modules/discord.js/src/client/websocket/WebSocketManager.js:368:10)
      at <anonymous> (/home/coder/Mivator/node_modules/discord.js/src/client/websocket/WebSocketManager.js:198:16)
      at emit (node:events:92:22)
      at checkReady (/home/coder/Mivator/node_modules/discord.js/src/client/websocket/WebSocketShard.js:184:12)
      at gotGuild (/home/coder/Mivator/node_modules/discord.js/src/client/websocket/WebSocketShard.js:158:10)
      at <anonymous> (/home/coder/Mivator/node_modules/discord.js/src/client/websocket/WebSocketManager.js:238:15)
      at emit (/home/coder/Mivator/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:287:31)
      at emit (/home/coder/Mivator/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:287:31)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions