shadowolf
shadowolf
SIASapphire - Imagine a framework
Created by shadowolf on 10/26/2023 in #discordjs-support
Command not registering
I've worked on this command about 3 days ago hoping it'd register and it's not registering but all of my other command are: https://sourceb.in/IOy0a5ZSIX Could someone please try and see what I am doing wrong?
4 replies
SIASapphire - Imagine a framework
Created by shadowolf on 8/2/2023 in #discordjs-support
Issues implementing subcommands
Hey Everyone, I am struggling and new to implementing subcommands and trying to doesn't register. https://hastebin.com/share/abitotekom.javascript The following is what I have, hope someone can help.
9 replies
SIASapphire - Imagine a framework
Created by shadowolf on 3/20/2023 in #sapphire-support
Events for Voice
How can I do something like the following but for voice?
import { Listener } from '@sapphire/framework';

export class VoiceStateUpdateListener extends Listener {
constructor(context, options) {
super(context, {
...options,
once: false,
event: 'voiceStateUpdate'
});
}

async run(oldState, newState) {
console.log(newState);
}
}
import { Listener } from '@sapphire/framework';

export class VoiceStateUpdateListener extends Listener {
constructor(context, options) {
super(context, {
...options,
once: false,
event: 'voiceStateUpdate'
});
}

async run(oldState, newState) {
console.log(newState);
}
}
9 replies