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

PassTheMayo picture PassTheMayo  路  3Comments

Dmitry221060 picture Dmitry221060  路  3Comments

iCrawl picture iCrawl  路  3Comments

Brawaru picture Brawaru  路  3Comments

Lombra picture Lombra  路  3Comments