gantonious / Discord-UWP

A Discord wrapper in C# compatible with UWP
MIT License
5 stars 1 forks source link

The people see invisible channels #8

Open ghost opened 7 years ago

ghost commented 7 years ago

https://cdn.discordapp.com/attachments/360166011695136768/360167042650996759/IMG_20170920_175031.jpg https://i.imgur.com/cGVzy2o.png The first image has sent by a normal user, whitout permission to see the channel, maybe a discord API bug?

gantonious commented 7 years ago

I haven't been maintaining this library recently but at least with older API versions of discord you could see if a channel was private by checking the is_private flag on the GuildChannel object:

[JsonProperty("is_private")]
public bool Private { get; set; }

I don't think this is a thing anymore with the latest API version.

ghost commented 7 years ago

thanks for the quick response, this update is only on the API, my discord in computer don't have this feature.

ghost commented 7 years ago

If you can, sure, disable this feature on your wrapper, the canary haven't it too, thanks