import { CommandClient, Event, Guild } from "athena-prime"; import { database } from "../../utils"; // ---------- class GuildCreateEvent extends Event { event: string = 'guildCreate' as const; async handle(context: CommandClient, guild: Guild) { await database.createConfiguration(guild.id); } } export default new GuildCreateEvent('guildCreate');