mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
19 lines
558 B
TypeScript
19 lines
558 B
TypeScript
import type { Session } from "../session/Session.ts";
|
|
import type { DiscordGuild } from "../vendor/external.ts";
|
|
import AnonymousGuild from "./AnonymousGuild.ts";
|
|
import WelcomeScreen from "./WelcomeScreen.ts";
|
|
|
|
export class InviteGuild extends AnonymousGuild {
|
|
constructor(session: Session, data: Partial<DiscordGuild>) {
|
|
super(session, data);
|
|
|
|
if (data.welcome_screen) {
|
|
this.welcomeScreen = new WelcomeScreen(session, data.welcome_screen);
|
|
}
|
|
}
|
|
|
|
welcomeScreen?: WelcomeScreen;
|
|
}
|
|
|
|
export default InviteGuild;
|