vphilip
vphilip
SIASapphire - Imagine a framework
Created by vphilip on 2/10/2023 in #sapphire-support
custom prefix
ty
5 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
Same issue here I added cooldowns and message commands stopped working
43 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/23/2022 in #sapphire-support
Custom prefix
ok but like where do i add the function
8 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/23/2022 in #sapphire-support
Custom prefix
ik about the function but like how can i use it
8 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
thank you so much sorry for wasting yout tme
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
finally
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
import type { UnknownMessageCommandNamePayload } from '@sapphire/framework';
import { Listener } from '@sapphire/framework';
import { ApplyOptions } from "@sapphire/decorators";

@ApplyOptions<Listener.Options>({
event: 'unknownMessageCommandName'
})
export class UserEvent extends Listener {
public run(payload: UnknownMessageCommandNamePayload) {
console.log(payload)

}


}
import type { UnknownMessageCommandNamePayload } from '@sapphire/framework';
import { Listener } from '@sapphire/framework';
import { ApplyOptions } from "@sapphire/decorators";

@ApplyOptions<Listener.Options>({
event: 'unknownMessageCommandName'
})
export class UserEvent extends Listener {
public run(payload: UnknownMessageCommandNamePayload) {
console.log(payload)

}


}
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
yes
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
wdym
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
i dont understand so like delete that file?
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
alr and what shouldi put into it
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
where can i add that
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
normal commands work fine
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
yep
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
yeah
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
still the same thing
38 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
here is my new code and i am not getitng anything in the console when i run a wrong command
import type { UnknownMessageCommandNamePayload } from '@sapphire/framework';
import { Listener } from '@sapphire/framework';
import { ApplyOptions } from "@sapphire/decorators";


@ApplyOptions<Listener.Options>({
event: 'UnknownMessageCommandName'
})
export class UserEvent extends Listener {
public run(payload: UnknownMessageCommandNamePayload) {
console.log(payload)

}


}
import type { UnknownMessageCommandNamePayload } from '@sapphire/framework';
import { Listener } from '@sapphire/framework';
import { ApplyOptions } from "@sapphire/decorators";


@ApplyOptions<Listener.Options>({
event: 'UnknownMessageCommandName'
})
export class UserEvent extends Listener {
public run(payload: UnknownMessageCommandNamePayload) {
console.log(payload)

}


}
38 replies