mirror of
https://github.com/nx-bat/synapse.git
synced 2026-09-23 11:29:05 -04:00
(init): initial files. includes basic client & database template using postgres.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { Event, CommandClient } from 'athena-prime';
|
||||
|
||||
class ReadyEvent extends Event<CommandClient> {
|
||||
event: string = 'ready' as const;
|
||||
|
||||
async handle(context: CommandClient<any, any>) {
|
||||
await context.deployCommands();
|
||||
}
|
||||
}
|
||||
|
||||
export default new ReadyEvent('ready');
|
||||
Reference in New Issue
Block a user