Skip to content

Commit

Permalink
3.6.0
Browse files Browse the repository at this point in the history
Added command /history, which shows the latest songs/playlists played in guild.
Added BOT_MAX_SONGS_HISTORY_SIZE env var.
Added a welcome message when join to guild.
Improved compatibility with node-gyp.
If command handler found duplicate text command names, handler throw error.
  • Loading branch information
AlexInCube authored Aug 12, 2024
1 parent 3af944e commit 7608698
Show file tree
Hide file tree
Showing 28 changed files with 871 additions and 217 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
BOT_VERBOSE_LOGGING=false
BOT_FFMPEG_LOGGING=false

BOT_COMMAND_PREFIX=//
BOT_COMMAND_PREFIX=$
BOT_LANGUAGE=en

BOT_MAX_SONGS_IN_QUEUE=500
BOT_MAX_SONGS_HISTORY_SIZE=60

BOT_DISCORD_TOKEN=undefined
BOT_DISCORD_CLIENT_ID=undefined
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
msvs_version=2022
73 changes: 37 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "aicbot",
"version": "3.5.2",
"version": "3.6.0",
"description": "Discord Bot for playing music",
"main": "build/main.js",
"scripts": {
"build": "tsc",
"development": "tsc&& cross-env NODE_ENV=development node build/main.js",
"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",
Expand All @@ -21,47 +21,48 @@
"node": ">=20"
},
"dependencies": {
"@discordjs/rest": "^2.3.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.3",
"@distube/ytsr": "^2.0.4",
"@eslint/js": "^9.8.0",
"@discordjs/rest": "2.3.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.15.3",
"distube": "^5.0.2",
"distube-apple-music": "^0.1.0",
"distube-yandex-music-plugin": "^1.0.5",
"dotenv": "^16.4.5",
"genius-lyrics": "^4.4.7",
"i18next": "^23.12.2",
"i18next-fs-backend": "^2.3.2",
"mongoose": "^8.5.2",
"node-cron": "^3.0.3",
"node-os-utils": "^1.3.7",
"opusscript": "^0.1.1",
"prism-media": "^1.3.5",
"discord.js": "14.15.3",
"distube": "5.0.2",
"distube-apple-music": "0.1.0",
"distube-yandex-music-plugin": "1.0.5",
"dotenv": "16.4.5",
"genius-lyrics": "4.4.7",
"i18next": "23.12.2",
"i18next-fs-backend": "2.3.2",
"mongoose": "8.5.2",
"node-cron": "3.0.3",
"node-os-utils": "1.3.7",
"opusscript": "0.1.1",
"prism-media": "1.3.5",
"puppeteer": "22.13.1",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"sodium-native": "^4.1.1",
"typescript-eslint": "^7.18.0",
"uuid": "^10.0.0",
"zod": "^3.23.8"
"puppeteer-extra": "3.3.6",
"puppeteer-extra-plugin-stealth": "2.11.2",
"sodium-native": "4.1.1",
"soundcloud.ts": "0.5.5",
"uuid": "10.0.0",
"zod": "3.23.8"
},
"devDependencies": {
"@types/node": "^20.14.14",
"@types/node": "^22.2.0",
"@types/node-cron": "^3.0.11",
"@types/node-os-utils": "^1.3.4",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^9.8.0",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"@eslint/js": "^9.9.0",
"typescript-eslint": "7.18.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
Expand Down
Loading

0 comments on commit 7608698

Please sign in to comment.