clownn
clownn
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
i am a bit lazy to change it
13 replies
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
nvim default font 😭
13 replies
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
alright
13 replies
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
should i use some specific name?
13 replies
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
how do i make /^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+$/ return true?
13 replies
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
error is coming directly from this
13 replies
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
13 replies
SIASapphire - Imagine a framework
Created by clownn on 12/31/2022 in #sapphire-support
String Length error while trying to register a command
yeah
12 replies
SIASapphire - Imagine a framework
Created by clownn on 12/31/2022 in #sapphire-support
String Length error while trying to register a command
I found the error; Basically when I called the "super" function inside the constructor, it overwrote all the configuration provided by the decorator
12 replies
SIASapphire - Imagine a framework
Created by clownn on 12/31/2022 in #sapphire-support
String Length error while trying to register a command
ping me if anyone found a answer
12 replies
SIASapphire - Imagine a framework
Created by clownn on 12/31/2022 in #sapphire-support
String Length error while trying to register a command
i don't have any idea of what is s.string.lengthGreaterThanOrEqual
12 replies
SIASapphire - Imagine a framework
Created by clownn on 12/31/2022 in #sapphire-support
String Length error while trying to register a command
12 replies
SIASapphire - Imagine a framework
Created by clownn on 12/31/2022 in #sapphire-support
String Length error while trying to register a command
12 replies
SIASapphire - Imagine a framework
Created by Đá Cục Không Phải Cục Đá on 12/24/2022 in #sapphire-support
Can't register application command.
@Đá Cục Không Phải Cục Đá you found any solution? (sorry for disturbing)
90 replies
SIASapphire - Imagine a framework
Created by Đá Cục Không Phải Cục Đá on 12/24/2022 in #sapphire-support
Can't register application command.
Discord is not "seeing" the slash command
import { ApplyOptions } from '@sapphire/decorators';
import { Command } from '@sapphire/framework';

@ApplyOptions<Command.Options>({
description: 'A basic slash command'
})
export class UserCommand extends Command {
public override registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand((builder) =>
builder //
.setName(this.name)
.setDescription(this.description)
);
}

public override async chatInputRun(interaction: Command.ChatInputInteraction) {
return await interaction.reply({ content: 'Hello world!' });
}
}
import { ApplyOptions } from '@sapphire/decorators';
import { Command } from '@sapphire/framework';

@ApplyOptions<Command.Options>({
description: 'A basic slash command'
})
export class UserCommand extends Command {
public override registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand((builder) =>
builder //
.setName(this.name)
.setDescription(this.description)
);
}

public override async chatInputRun(interaction: Command.ChatInputInteraction) {
return await interaction.reply({ content: 'Hello world!' });
}
}
90 replies
SIASapphire - Imagine a framework
Created by Đá Cục Không Phải Cục Đá on 12/24/2022 in #sapphire-support
Can't register application command.
but in my case i'm using a cli-generated component
90 replies
SIASapphire - Imagine a framework
Created by Đá Cục Không Phải Cục Đá on 12/24/2022 in #sapphire-support
Can't register application command.
same problem happening for me
90 replies