./Ticker
SIASapphire - Imagine a framework
•Created by ./Ticker on 6/14/2024 in #sapphire-support
Coommands are not registered
7 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 6/8/2024 in #sapphire-support
Is there a way to make slash commands hidden for people with lower perms?
I know this is possible for a guild only server, how do I do it with Sapphire?
5 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 5/6/2024 in #discordjs-support
Question about developing in TypeScript
My bot which is used by 10,000 members is fully written in Sapphire for JavaScript.
I was thinking about converting it to TypeScript to make the code better, and safer.
I wanted to ask, from your experience, does using TypeScript make a difference in how you code? does it make a difference in the performance? Is it worth it? Cheers!
8 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 3/30/2024 in #discordjs-support
Button error
anybody knows why this is happening?
So I have a ticketing system that just stopped working now, for some ungodly reason, closing the ticket takes ages, it will not close it and then error out.
Code:
3 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 3/23/2024 in #sapphire-support
Scheduled Tasks with Common JS
I am looking to do a task every 2 minutes, I want to use scheduled tasks but seems like all the examples are in Typescript/ESM, can anyone show or explain how to use it with CommonJS?
7 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 3/17/2024 in #sapphire-support
Is there a way to make precondition in interaction be ephemeral?
cause with the OwnerOnly the CLI gives it throws the error in a regular reply.
14 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 3/16/2024 in #discordjs-support
Bot not starting in VPS
5 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 3/8/2024 in #sapphire-support
Paginated Message Bug
Default paginated message
code:
23 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 2/19/2024 in #sapphire-support
Cannot find module
8 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 1/5/2024 in #sapphire-support
How to use @sapphire/decorators?
I tried using it but am getting this error:
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
import { ApplyOptions } from '@sapphire/decorators';
import { Command, CommandOptions } from '@sapphire/framework';
import { Message, TextChannel } from 'discord.js';
import { addHelpRequestToDatabase } from '../database_handler';
import { mainChatId, logChannelId } from '../config';
@ApplyOptions
<Command.Options>({
description: 'ping pong',
enabled: true
})
4 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 1/1/2024 in #discordjs-support
anyone know how to make bot seem without a status (not online but not offline)
like for @Iriss
7 replies