Gomita
Gomita
SIASapphire - Imagine a framework
Created by Gomita on 1/21/2024 in #sapphire-support
Distube and sapphire
I'm going to try to find the commit from where they removed the lavalink to give me an idea of how to do it
12 replies
SIASapphire - Imagine a framework
Created by Gomita on 1/21/2024 in #sapphire-support
Distube and sapphire
About the terms I understand and I know that, but thanks for the clarification and I'm going to try to find how to do it
12 replies
SIASapphire - Imagine a framework
Created by Gomita on 1/21/2024 in #sapphire-support
Distube and sapphire
12 replies
SIASapphire - Imagine a framework
Created by Gomita on 1/21/2024 in #sapphire-support
Distube and sapphire
Command:
// play.js
const { Command } = require("@sapphire/framework");
const { sendArgsError } = require("../../utils");

class PlayCommand extends Command {
constructor(context, options) {
super(context, {
...options,
description: "Musica",
aliases: ["p"],
});
}

async messageRun(message, args) {
try {
const client = this.client;
console.log(client.distube)
} catch (error) {
console.error(error);
}
}
}

module.exports = PlayCommand;
// play.js
const { Command } = require("@sapphire/framework");
const { sendArgsError } = require("../../utils");

class PlayCommand extends Command {
constructor(context, options) {
super(context, {
...options,
description: "Musica",
aliases: ["p"],
});
}

async messageRun(message, args) {
try {
const client = this.client;
console.log(client.distube)
} catch (error) {
console.error(error);
}
}
}

module.exports = PlayCommand;
12 replies
SIASapphire - Imagine a framework
Created by Gomita on 1/21/2024 in #sapphire-support
Distube and sapphire
No description
12 replies