6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
![]() |
import { Channel, GuildChannel } from "discord.js";
|
||
|
|
||
|
export function isGuildChannel(channel: Channel): channel is GuildChannel {
|
||
|
return channel.type.startsWith("GUILD_");
|
||
|
}
|