import Discord from "discord.js"; import RainbowBOT from "../RainbowBOT"; export interface GuildOptions { id: string; group: string; name: string; lang: string; ownerId: string; icon?: string; banner?: string; systemChannelId?: string; botJoinedAt: Date; guild?: Discord.Guild; } export default class Guild implements GuildOptions { bot: RainbowBOT; id: string; name: string; group: string; lang: string; ownerId: string; icon?: string | undefined; banner?: string | undefined; systemChannelId?: string | undefined; botJoinedAt: Date; guild?: Discord.Guild | undefined; constructor(bot: RainbowBOT, opts: GuildOptions); }