mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 22:15:29 +00:00
Remove commented code
This commit is contained in:
1 parent
23e9441d52
commit
20cbce771c
1 file changed
+1
-9
@@ -29,14 +29,6 @@ const player = new Player(client, {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
|
||||||
FFMPEG_OPTIONS: {
|
|
||||||
before_options:
|
|
||||||
'-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5',
|
|
||||||
options: '-vn'
|
|
||||||
},
|
|
||||||
*/
|
|
||||||
|
|
||||||
client.once('ready', async () => {
|
client.once('ready', async () => {
|
||||||
console.log(`Logged in as ${client.user.tag}!`);
|
console.log(`Logged in as ${client.user.tag}!`);
|
||||||
|
|
||||||
@@ -74,7 +66,7 @@ client.on('interactionCreate', async (interaction) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await interaction.deferReply();
|
await interaction.deferReply();
|
||||||
await command.run({ client, interaction, player });
|
await command.run({ interaction, player });
|
||||||
console.log(
|
console.log(
|
||||||
`Command '/${interaction.commandName}' was executed successfully.`
|
`Command '/${interaction.commandName}' was executed successfully.`
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user