Hi, I'm recently migrating my discord.js version to the master version. And in the master now have a GuildManager class and to get guild from the collection, you should add cache after client.guilds.
I see the pull request and there is a pull request to solve this: #157
Now I'm using my own fork project to fix this. Please solve this ASAP.