(events): added messageCreate & messageUpdate. this also removes the

`shardReady` event as it isn't in use.
This commit is contained in:
2026-08-27 23:46:29 +08:00
parent 08ed854797
commit f353a73a9e
8 changed files with 54 additions and 17 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { CommandClient, Event, Guild } from "athena-prime";
import { createConfiguration } from "../../utils/database";
import { database } from "../../utils";
// ----------
@@ -7,7 +7,7 @@ class GuildCreateEvent extends Event<CommandClient> {
event: string = 'guildCreate' as const;
async handle(context: CommandClient<any, any>, guild: Guild) {
await createConfiguration(guild.id);
await database.createConfiguration(guild.id);
}
}