im tired.

This commit is contained in:
2026-09-07 17:26:53 +08:00
parent 3aff82422e
commit 016585ddf9
26 changed files with 695 additions and 381 deletions
+15
View File
@@ -0,0 +1,15 @@
import { CommandClient, Event, Guild } from 'athena-prime';
import database from '../../database';
// ----------
class GuildCreateEvent extends Event<CommandClient> {
event: string = 'guildDelete' as const;
// TODO: Implement weekly config cleanup task instead.
async handle(context: CommandClient<any, any>, guild: Guild | { id: string }) {
await database.config.deleteConfig(guild.id);
}
}
export default new GuildCreateEvent('guildDelete');