0.0.18 • Published 4 years ago
discord.js-old-methods v0.0.18
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.addRoles
- ✔ GuildMember.colorRole*
- ✔ GuildMember.highestRole*
- ✔ GuildMember.hoistRole*
- ✔ GuildMember.removeRoles
- ✔ 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)