The way you retrieve information from client changed in discordjs v12, that applies if the information was cached tho.
If the information isn't cached, you will need to use the fetch method.
This method uses Discord API to get the Discord object by an ID.