Skip to content

Commit

Permalink
4.0-dev-0
Browse files Browse the repository at this point in the history
Removed Distube, Puppeteer, Genius Lyrics.
Added Riffy (Lavalink interface), implemented only /play command.
And also break too many features.
  • Loading branch information
AlexInCube committed Oct 15, 2024
1 parent e244d6a commit 1617947
Show file tree
Hide file tree
Showing 41 changed files with 638 additions and 2,544 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ build
data
/downloads/
/yt-cookies.json
lavanodes.json
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Cool audiobot for Discord created by <a href="https://vk.com/alexincube"><b>@Ale

## 🌟 Features
![play-audioplayer](/wiki/images/commands/play-audioplayer.png)
- Audioplayer based on [Distube](https://github.com/skick1234/DisTube) with buttons
- Audioplayer based on [Riffy](https://github.com/riffy-team/riffy) (Lavalink interface for Node.js)
- Playlists for songs
- Lyrics for songs
- Downloading of songs via /download command
Expand All @@ -26,3 +26,8 @@ If you have issues, try to update your `docker-compose.yml`, `updateAndRunInDock
And run `sh updateAndRunInDocker.sh`.
If bugs are persisted on the latest version of bot,
please create [issue](https://github.com/AlexInCube/AlCoTest/issues/new/choose).

## Migration Guide from v3 to v4

The bot rewrote to use Lavalink instead of Distube.js to provide more services and stability.
Now you need to provide the lavanodes.json and set up your lavaserver.
45 changes: 13 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "aicbot",
"version": "3.8.1",
"version": "4.0.0-dev",
"description": "Discord Bot for playing music",
"main": "build/main.js",
"scripts": {
"build": "tsc",
"development": "tsc&& cross-env NODE_ENV=development node --trace-deprecation build/main.js ",
"production": "cross-env NODE_ENV=production node build/main.js",
"cookies_grabbing": "cross-env NODE_ENV=development node build/Script_getCookie.js",
"test": "tsc&& cross-env NODE_ENV=development node --test",
"eslint": "eslint \"src/**/*.{ts,js}\"",
"prettier:format": "prettier --write \"**/*.{ts,js}\"",
Expand All @@ -23,51 +22,33 @@
"dependencies": {
"@discordjs/rest": "2.4.0",
"@discordjs/voice": "0.17.0",
"@distube/direct-link": "1.0.1",
"@distube/file": "1.0.1",
"@distube/soundcloud": "2.0.3",
"@distube/spotify": "2.0.2",
"@distube/youtube": "1.0.4",
"@distube/yt-dlp": "2.0.1",
"@distube/ytdl-core": "4.14.4",
"@distube/ytsr": "2.0.4",
"cross-env": "7.0.3",
"discord.js": "14.16.2",
"distube": "5.0.2",
"distube-apple-music": "0.1.0",
"distube-vk-music-plugin": "2.0.3",
"distube-yandex-music-plugin": "1.0.5",
"discord.js": "14.16.3",
"dotenv": "16.4.5",
"genius-lyrics": "4.4.7",
"i18next": "23.15.1",
"i18next": "23.15.2",
"i18next-fs-backend": "2.3.2",
"mongoose": "8.6.3",
"node-cron": "3.0.3",
"node-os-utils": "1.3.7",
"opusscript": "0.1.1",
"prism-media": "1.3.5",
"puppeteer": "23.3.1",
"puppeteer-extra": "3.3.6",
"puppeteer-extra-plugin-stealth": "2.11.2",
"sodium-native": "4.2.0",
"soundcloud.ts": "0.5.5",
"riffy": "1.0.7-rc.2",
"sodium-native": "4.2.1",
"uuid": "10.0.0",
"zod": "3.23.8"
},
"devDependencies": {
"@eslint/js": "9.10.0",
"@types/node": "22.5.5",
"@types/node-cron": "3.0.11",
"@eslint/js": "9.12.0",
"@types/node": "22.7.5",
"@types/node-os-utils": "1.3.4",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.6.0",
"@typescript-eslint/parser": "8.6.0",
"eslint": "9.10.0",
"@typescript-eslint/eslint-plugin": "8.8.1",
"@typescript-eslint/parser": "8.8.1",
"eslint": "9.12.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"globals": "15.9.0",
"globals": "15.11.0",
"prettier": "3.3.3",
"typescript": "5.6.2",
"typescript-eslint": "8.6.0"
"typescript": "5.6.3",
"typescript-eslint": "8.8.1"
}
}
Loading

0 comments on commit 1617947

Please sign in to comment.