dazx
dazx
SIASapphire - Imagine a framework
Created by dazx on 5/14/2024 in #sapphire-support
messageRun commands
It was that i was missing the listener implementation for Message Subcommands, about the name i just renamed the precondition, thanks for the help!
5 replies
SIASapphire - Imagine a framework
Created by dazx on 5/9/2024 in #sapphire-support
Scheduled Tasks not working
It was the /register thing, i can't believe i was on this for hours. Thank you so much
10 replies
SIASapphire - Imagine a framework
Created by dazx on 5/9/2024 in #sapphire-support
Scheduled Tasks not working
I did. This is my main file
import '@sapphire/plugin-subcommands/register';
import '@sapphire/plugin-i18next/register';
import '@sapphire/plugin-scheduled-tasks'
import { bannerLoad } from "@shared/functions/bannerLoad";
import { Client } from "@app/client";
import { Run as app } from "@app/run";

async function main() {
const client = new Client();
await app.clientRun(client);
}

void main().then(() => {
bannerLoad()
});
import '@sapphire/plugin-subcommands/register';
import '@sapphire/plugin-i18next/register';
import '@sapphire/plugin-scheduled-tasks'
import { bannerLoad } from "@shared/functions/bannerLoad";
import { Client } from "@app/client";
import { Run as app } from "@app/run";

async function main() {
const client = new Client();
await app.clientRun(client);
}

void main().then(() => {
bannerLoad()
});
And this is my tasks configuration in the client
tasks: {
bull: {
connection: {
port: config.database.redis.port,
host: config.database.redis.host,
}
}
},
tasks: {
bull: {
connection: {
port: config.database.redis.port,
host: config.database.redis.host,
}
}
},
I'm already using ioredis for a few other things in my bot, so i selected another db but still not working
10 replies