import { Events, Listener } from "@sapphire/framework";
export class ReadyListener extends Listener {
public constructor(context: Listener.Context, options: Listener.Options) {
super(context, {
event: Events.ClientReady,
...options,
once: true,
});
}
public run() {
console.log("hello im running");
}
}
import { Events, Listener } from "@sapphire/framework";
export class ReadyListener extends Listener {
public constructor(context: Listener.Context, options: Listener.Options) {
super(context, {
event: Events.ClientReady,
...options,
once: true,
});
}
public run() {
console.log("hello im running");
}
}