CRBT-Team/Purplet

View on GitHub
packages/purplet/src/structures/channel/guild-news.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { APINewsChannel } from 'purplet/types';
import { GuildTextChannel } from './guild-text';
import { createInstanceofGuard } from '../../utils/class';

export class NewsChannel<
  Data extends APINewsChannel = APINewsChannel
> extends GuildTextChannel<Data> {
  static is = createInstanceofGuard(NewsChannel);
}