You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling function guild.emojis.cache e.g. in console.log or somewhere else
the error below will appear in the console:
The Emoji#url getter is deprecated. Use Emoji#imageURL() instead.
DeprecationWarning: The Emoji#url getter is deprecated. Use Emoji#imageURL() instead.
at get url [as url] ([Project Path]\node_modules\discord.js\src\structures\Emoji.js:63:15)
at flatten ([Project Path]\node_modules\discord.js\src\util\Util.js:32:24)
at GuildEmoji.toJSON ([Project Path]\node_modules\discord.js\src\structures\Base.js:35:12)
at GuildEmoji.toJSON ([Project Path]\node_modules\discord.js\src\structures\Emoji.js:105:18)
at JSON.stringify (<anonymous>)
at GuildInsertHandler.update ([Project Path]\Utils\Handler\GuildInsertHandler.js:94:52)
at ChannelUpdateEvent.main ([Project Path]\Events\Discord\Guild\Channel\ChannelUpdateEvent.js:22:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Which package is this bug report for?
discord.js
Issue description
guild.emojis.cache
e.g. in console.log or somewhere elseCode sample
Versions
nodejs version: v20.10.0
npm: v9.9.2 also in v10.2.4
discordjs: version 14.14.1
Issue priority
Medium (should be fixed soon)
Which partials do you have configured?
User, GuildMember, Message
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildVoiceStates, GuildPresences, GuildMessages, MessageContent
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: