mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 21:54:14 +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';
|
import type { Client } from 'discord.js';
|
||||||
|
|
||||||
export class ReadyListener extends Listener {
|
export class ReadyListener extends Listener {
|
||||||
public constructor(context: Listener.Context) {
|
public constructor(context: Listener.Context, options: Listener.Options) {
|
||||||
super(context, {
|
super(context, {
|
||||||
|
...options,
|
||||||
once: true,
|
once: true,
|
||||||
event: 'ready',
|
event: 'ready',
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user