Have ideas to improve npm?Join in the discussion! »

    discord.js-old-methods

    0.0.18 • Public • Published

    discord.js-old-methods

    A W.I.P. npm package that adds discord.js v11 methods to v12!

    USES DISCORD.JS VERSION 12.5.1

    The methods discussed here will be added.

    Methods Added so Far

    Tested methods are marked with a check.

    • Client.fetchUser

    • Client.voiceConnections*

    • ✘ ClientUser.createGuild

    • ✘ ClientUser.setGame

    • ✘ Collection.deleteAll

    • ✘ Collection.exists

    • Guild.ban

    • Guild.unban

    • GuildMember.addRole[s]

    • GuildMember.colorRole*

    • GuildMember.highestRole*

    • GuildMember.hoistRole*

    • GuildMember.removeRole[s]

    • GuildMember.setRoles

    • RichEmbed

    • ✘ VoiceBroadcast.playFile

    • ✘ VoiceBroadcast.playStream

    • ✘ VoiceBroadcast.playArbitraryInput

    • ✘ VoiceBroadcast.playBroadcast

    • ✘ VoiceBroadcast.playOpusStream

    • ✘ VoiceBroadcast.playConvertedStream

    • ✘ VoiceConnection.playFile

    • ✘ VoiceConnection.playStream

    • ✘ VoiceConnection.playArbitraryInput

    • ✘ VoiceConnection.playBroadcast

    • ✘ VoiceConnection.playOpusStream

    • ✘ VoiceConnection.playConvertedStream

    • Added .get() to Managers. (no more .cache.get())

    Notes

    * Must use as function. It is currently not possible for us to make these a string. (submit a PR if you know how)

    Install

    npm i discord.js-old-methods

    DownloadsWeekly Downloads

    20

    Version

    0.0.18

    License

    ISC

    Unpacked Size

    6.35 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar