(rewrite): Pet the Pond now does petting for all.

This commit is contained in:
2026-09-13 15:58:06 +08:00
parent 016585ddf9
commit 8b00a8a876
12 changed files with 63 additions and 221 deletions
-15
View File
@@ -1,15 +0,0 @@
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');