I get an error 'TypeError: Cannot read property 'roles' of undefined'
The command I'm trying to make should list all the users with a certain role in the main server. This is a public bot too so it's in multiple servers. The code I'm currently using is from an answer to a question similar to the one I'm asking.
const guild = this.client.guilds.get('498683894489546762');
const allTrusted = guild.roles.get('498686419137724417').members.map(m=>m.user.tag).join('\n');
const embed = new RichEmbed()
.setDescription(allTrusteds);
msg.say(embed)