fix(arabot): add options argument in ready listener

This commit is contained in:
Anthony 2022-08-05 03:04:06 +01:00
parent e8472719da
commit bc7c59411b

View File

@ -24,8 +24,9 @@ import { Listener } from '@sapphire/framework';
import type { Client } from 'discord.js';
export class ReadyListener extends Listener {
public constructor(context: Listener.Context) {
public constructor(context: Listener.Context, options: Listener.Options) {
super(context, {
...options,
once: true,
event: 'ready',
});