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