Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dewstouh authored Feb 8, 2022
1 parent b1e009e commit 528d989
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ const client = new Discord.Client({
Discord.Intents.FLAGS.GUILDS,
Discord.Intents.FLAGS.GUILD_MEMBERS,
Discord.Intents.FLAGS.GUILD_MESSAGES,
Discord.Intents.FLAGS.GUILD_VOICE_STATES,
],
})

client.commands = new Discord.Collection();
client.aliases = new Discord.Collection();

function requerirhandlers(){
["command", "events"].forEach(handler => {
["command", "events", "distube"].forEach(handler => {
try {
require(`./handlers/${handler}`)(client, Discord)
} catch(e){
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/opus": "^0.7.0",
"@distube/soundcloud": "^1.1.0",
"@distube/spotify": "^1.2.1",
"colors": "^1.4.0",
"discord.js": "^13.6.0",
"distube": "^3.3.1-1",
"ffmpeg-static": "^4.4.1",
"libsodium-wrappers": "^0.7.9",
"mongoose": "^6.2.0"
}
}

0 comments on commit 528d989

Please sign in to comment.