Skip to content

Commit

Permalink
release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LewdHuTao committed Sep 21, 2024
2 parents 0bc61e1 + a644c94 commit f559150
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
test: 'curl -H "Authorization: youshallnotpass" -s http://localhost:2333/version || exit 1'
interval: 10s
timeout: 10s
retries: 3
start_period: 120s # Delay before starting checks
retries: 5
start_period: 10s # Delay before starting checks
ports:
- "2333:2333" # Expose port for other containers or external access if needed

Expand Down
2 changes: 1 addition & 1 deletion lavalink/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ plugins:
countryCode: "US" # the country code you want to use for searching lyrics via ISRC. See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
lavalink:
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:1.7.2" # Youtube Source plugins
- dependency: "dev.lavalink.youtube:youtube-plugin:1.8.0" # Youtube Source plugins
snapshot: false
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.2.0" # LavaSrc Plugins
repository: "https://maven.lavalink.dev/releases"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions src/commands/prefix/music/NowPlayPrefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module.exports = {
trackStream: song.isStream,
trackDuration: player.position,
trackTotalDuration: song.length,
fontPath: path.join(__dirname, "..", "..", "..", "fonts", "ArialUnicodeMS.ttf")
});
const attachment = new AttachmentBuilder(cardImage, {
name: "card.png",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/slash/music/NowPlaySlash.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const SlashCommand = require("../../../structures/SlashCommand");
const path = require("path");
const { EmbedBuilder, AttachmentBuilder } = require("discord.js");
const { classicCard } = require("songcard");
const path = require("path");

const command = new SlashCommand()
.setName("nowplay")
Expand Down Expand Up @@ -77,6 +78,7 @@ const command = new SlashCommand()
trackStream: song.isStream,
trackDuration: player.position,
trackTotalDuration: song.length,
fontPath: path.join(__dirname, "..", "..", "..", "fonts", "ArialUnicodeMS.ttf")
});
const attachment = new AttachmentBuilder(cardImage, {
name: "card.png",
Expand Down
1 change: 1 addition & 0 deletions src/events/audio/trackStart.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = async (client, player, track) => {
songArtist: track.info.author,
streamProvider: track.info.sourceName,
trackRequester: username,
fontPath: path.join(__dirname, "..", "..", "fonts", "ArialUnicodeMS.ttf")
});

const attachment = new AttachmentBuilder(trackPlayCanvas, {
Expand Down
Binary file added src/fonts/ArialUnicodeMS.ttf
Binary file not shown.
12 changes: 6 additions & 6 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "musicbot",
"version": "1.0.7",
"version": "1.1.0",
"description": "Another javascript discord music bot.",
"main": "index.js",
"scripts": {
Expand All @@ -26,15 +26,15 @@
},
"homepage": "https://github.com/LewdHuTao/MusicBot#readme",
"dependencies": {
"@discordjs/builders": "^1.8.2",
"@discordjs/rest": "^2.3.0",
"@discordjs/builders": "^1.9.0",
"@discordjs/rest": "^2.4.0",
"colors": "^1.4.0",
"discord.js": "^14.15.3",
"discord.js": "^14.16.2",
"fs": "^0.0.1-security",
"llyrics": "^1.1.7",
"moment": "^2.30.1",
"moment-duration-format": "^2.3.2",
"mongoose": "^8.5.4",
"mongoose": "^8.6.3",
"ms": "^2.1.3",
"niizuki": "^1.0.13",
"node-cache": "^5.1.2",
Expand All @@ -43,7 +43,7 @@
"pretty-bytes": "^6.1.1",
"pretty-ms": "^9.1.0",
"semver": "^7.6.3",
"songcard": "^1.3.1",
"songcard": "^1.4.1",
"systeminformation": "^5.23.5",
"util": "^0.12.5",
"youtube-sr": "^4.3.11"
Expand Down

0 comments on commit f559150

Please sign in to comment.