@sapphire/discord.js-utilities - isPrivateThreadChannel
Could I query about the return type from the
isPrivateThreadChannel
. Shouldn't that type-guard instead of being ThreadChannel
be PrivateThreadChannel
The function above types the channel differently compared to isPrivateThreadChannel
, is this intentional?6 Replies
you're right. Can you make a PR fixing this and the other type guards? They also use the deprecated enum members still
Sure, i'll try and make a PR for this today then 👍
any chance you'll have tim in the coming 2,5 hours or so? I want to do a release of packages then - after my daily grind in mmo
I think so, this just involves some small changes, right?
ye
Released, see #Announcements