mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 13:54:12 +02:00
fix(arabot): add options argument in ready listener
This commit is contained in:
parent
e8472719da
commit
bc7c59411b
@ -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',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user