Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fieztazica committed Nov 14, 2023
1 parent 5cd13bd commit 0dfeca8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
20 changes: 10 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
// .spawn()
// .catch((error) => console.error(`[ERROR/SHARD] Shard failed to spawn.`));

// if (dev !== "on") {
// const { AutoPoster } = require("topgg-autoposter");
// const ap = AutoPoster(topggToken, manager);
const { modules } = require('./config.json')

// ap.on("posted", () => {
// console.log("Posted stats to Top.gg!");
// });
// }
function bootstrap() {
try {
require('./bot')
modules.use_server === 'yes' ? require('./server') : null
} catch (error) {
console.error(`[${new Date().toLocaleString()}]`, error)
}
}

const { modules } = require("./config.json");
const bot = require("./bot");
const server = modules.use_server === "yes" ? require("./server") : null;
bootstrap()
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hoot",
"version": "0.1.5",
"version": "0.1.6",
"description": "a music discord bot",
"funding": "https://ko-fi.com/fiezt",
"types": "./typings.d.ts",
Expand Down Expand Up @@ -29,11 +29,11 @@
"@distube/soundcloud": "^1.3.3",
"@distube/spotify": "^1.5.1",
"@distube/yt-dlp": "^1.1.3",
"@distube/ytdl-core": "^4.11.17",
"@distube/ytdl-core": "^4.13.2",
"cors": "^2.8.5",
"discord-api-types": "^0.37.37",
"discord.js": "^14.9.0",
"distube": "^4.0.6",
"distube": "^4.1.1",
"express": "^4.18.2",
"libsodium-wrappers": "^0.7.11",
"lodash": "^4.17.21",
Expand All @@ -45,7 +45,6 @@
"os": "^0.1.2",
"sequelize": "^6.21.3",
"sqlite3": "^5.0.9",
"topgg-autoposter": "^2.0.1",
"url": "^0.11.0"
},
"devDependencies": {
Expand Down

0 comments on commit 0dfeca8

Please sign in to comment.