mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
15 lines
535 B
TypeScript
15 lines
535 B
TypeScript
import type { Snowflake } from "../util/Snowflake.ts";
|
|
import type { Session } from "../session/Session.ts";
|
|
import type { DiscordChannel } from "../vendor/external.ts";
|
|
import TextChannel from "./TextChannel.ts";
|
|
|
|
export class NewsChannel extends TextChannel {
|
|
constructor(session: Session, data: DiscordChannel, guildId: Snowflake) {
|
|
super(session, data, guildId);
|
|
this.defaultAutoArchiveDuration = data.default_auto_archive_duration;
|
|
}
|
|
defaultAutoArchiveDuration?: number;
|
|
}
|
|
|
|
export default NewsChannel;
|