Discord.js v11-v12 parity package

github url: https://github.com/Jonyk56/discord.js-parody
npm url: https://www.npmjs.com/package/@jonyk56/discord.js-parody
documentation: https://jonyk56.github.io/discord.js-parody/global.html
discord server ( support, development, suggestions, off-topic ): https://discord.gg/WPbF3eV
Discord.js-parody is a quite large project i took up taking… well, today, the day of its release, as a fix for people getting annoyed by how much they have to update their code… so, well, i fixed that. By doing some very hard concentration, and looking at the v11/v12 docs 50-60 times before adding something… i have managed to make it have parody for a few things…
note: you do have to call Client.Parody after creating a parody client…

  • users.cache -> users | users.cache ( no conflict, either can be used )
  • MessageEmbed -> MessageEmbed | RichEmbed ( no conflict, either can be used )

some people may have noticed the misspelling of parody as it is supposed to be parity, the reason why it is parody, is because i have a failed v10/v11 parity package that is private… so, yea…

1 Like

Will it have the Discord.RichEmbed() instead of the Discord.MessageEmbed()?

Yes, yes it will =)

it will also have a bit of a different initializer, i’m kinda thinking of adding an event/command handler system…
little note on that…
Trying to work on a constructor that takes other options than what the constructor it extends takes is actually harder than it sounds…
but, so far, the class to initialize would

const Client = new DjsParody();
Client.Parody() //initializes parody powers!