Discord.js: Missing property @ docs

Created on 8 Apr 2018  路  3Comments  路  Source: discordjs/discord.js

Please describe the problem you are having in as much detail as possible:
While looking @ events I found a missing property

Link:
https://discord.js.org/#/docs/main/stable/class/Channel

Property:
guild

Description:
Channel.guild gives the guild, but its not documentated

question (please use Discord instead)

All 3 comments

It can also be a dm channel which doesn't have the guild property

okay, that makes sense.
But there is a "name" property too, which is not mentioned too :/

Dm channels don't have names.
The properties ur looking for can be found under guildChannel

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alipoodle picture Alipoodle  路  3Comments

smchase picture smchase  路  3Comments

Acaretia picture Acaretia  路  3Comments

kvn1351 picture kvn1351  路  3Comments

BrandonCookeDev picture BrandonCookeDev  路  3Comments