vphilip
vphilip
SIASapphire - Imagine a framework
Created by vphilip on 2/13/2023 in #sapphire-support
sharding
hey so i want to use discord hybrid sharding i wanted to ask if there will be issues with using it with your libary like does your libary shard or not
4 replies
SIASapphire - Imagine a framework
Created by vphilip on 2/12/2023 in #sapphire-support
port 4000 on cluster
so my bot is in more than 8k servers and it requires clustering so when i start the bot i get this Error: listen EADDRINUSE: address already in use :::4000 i dont want to use any ports at all
5 replies
SIASapphire - Imagine a framework
Created by vphilip on 2/10/2023 in #sapphire-support
custom prefix
so i have a normal client just like the example one i was wondering how can i implement the fetch prefix function there
5 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/23/2022 in #sapphire-support
Custom prefix
How can i implement custom prefix per guild i already have my command which is >prefix <new_prefix> and is saved in mongo but i dont know how can i set it for this server and get the prefix and there is no even of prefix commands here.
8 replies
SIASapphire - Imagine a framework
Created by vphilip on 12/17/2022 in #sapphire-support
UnknownMessageCommandName event is not working
So i was making the event but when i run >pinewfweew for example or any other wrong command nothing appears in the console.
import type { UnknownMessageCommandNamePayload } from '@sapphire/framework';
import { Listener } from '@sapphire/framework';

export class UserEvent extends Listener {
public run(payload: UnknownMessageCommandNamePayload) {
console.log(payload)
}


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

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
can i edit the frame work to apply custom commands or not.
So i want to edit the frame work to make it able to handle custom commands i am using mongo db for the data storing of custom commands. Is it possible if yes how can i do it
25 replies