Finished Nuts/Honor/Quotes

This commit is contained in:
DeSqBlocki
2024-08-03 12:33:15 +02:00
parent 2925fb59dd
commit 9dac81db9b
19 changed files with 984 additions and 343 deletions
+6 -1
View File
@@ -27,8 +27,11 @@ client.aliases = new Collection() // list of command aliases
client.buttons = new Collection() // list of buttons
client.selectMenus = new Collection() // list of selectMenus
// Initialize DisTube with YtDlpPlugin and request options
const distube = new DisTube(client, {
plugins: [new YtDlpPlugin({ update: true })],
plugins: [
new YtDlpPlugin(),
],
});
client.distube = distube
@@ -37,4 +40,6 @@ fs.readdirSync('./handlers').forEach((handler) => {
require(`./handlers/${handler}`)(client)
});
distube.on('error', (channel, error) => {client.emit('DistubeError', (channel, error))})
client.login(process.env.D_Token)