This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): version 2.1.0 (#608)
* chore(deps): update lockfile * feat(commands): add PurgeCommand * fix(VolumeCommand): volume should be multiplied * fix(AboutCommand): load value everytime command is used * feat(MuteCommand): muting server owner shouldn't be allowed * feat(AboutCommand): remove 'v' in node version * chore: change version * chore(lang/en): add 'commands.moderation.purge' * chore(lang/en): add 'commands.moderation.mute.cantMuteOwner' * chore(deps): bump @discordjs/voice from 0.7.2 to 0.7.3 (#602) (#603) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): upgrade lockfile * chore(CODEOWNERS): change KurokuTetsuya to ZenShibata * chore(*): compare changes (#605) * chore(deps): bump @discordjs/voice from 0.7.2 to 0.7.3 (#602) * chore(env): update notes grammaring (#604) * chore(env): update notes grammaring * chore(heroku): update string content * chore(env): update notes grammaring * chore(env): apply suggestion * chore(env): apply suggestion Co-authored-by: mzrtamp <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 21Z <[email protected]> * chore(deps-dev): move @types/i18n and @types/node to devDependencies * chore(deps): add ffmpeg-static * chore(deps): remove ffmpeg-static * chore(deps): add [email protected] * feat(ClientUtils): add 'getFFmpegVersion' function * refactor(AboutCommand): use 'ClientUtils#getFFmpegVersion' instead * chore(deps): upgrade lockfile * chore(SearchCommand): remove the selection message after cancellation * chore(lang/en): change the 'commands.music.stayInQueue.247Disabled' message * chore(lang/id): synchronize with 'lang/en' * chore(deps): bump @discordjs/voice from 0.7.3 to 0.7.5 (#607) Bumps [@discordjs/voice](https://github.com/discordjs/voice) from 0.7.3 to 0.7.5. - [Release notes](https://github.com/discordjs/voice/releases) - [Changelog](https://github.com/discordjs/voice/blob/main/CHANGELOG.md) - [Commits](discordjs/voice@v0.7.3...v0.7.5) --- updated-dependencies: - dependency-name: "@discordjs/voice" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mzrtamp <[email protected]> * chore(PingCommand): change 'Disconnected' to 'N/A' * feat(commands): add InviteCommand * chore(README): add youtube * chore(*): update string content * chore(isGlitch): don't remove devDependencies on non-glitch instance * chore(config): tidy up file content * chore(*): tidy up every ts file content Contains string update, import line order sortings, etc. * chore(lang/en): update some words * chore(lang/id): menyinkronkan dengan 'lang/en' * chore(lang/es): sincronizar con 'lang/en' * chore(release): version 2.1.0 Co-authored-by: Mednoob <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 21Z <[email protected]>
- Loading branch information
1 parent
2173070
commit dbb1aed
Showing
38 changed files
with
307 additions
and
518 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Global | ||
* @mzrtamp @Mednoob @KurokuTetsuya | ||
* @mzrtamp @Mednoob @ZenShibata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ const { Server } = require("https"); | |
try { | ||
require("dotenv/config"); | ||
} catch (err) { | ||
console.info("[INFO] It seems dotenv hasn't been installed. Trying to re-install all modules..."); | ||
console.info("[INFO] It seems dotenv hasn't installed, trying to re-install all modules..."); | ||
if (existsSync(resolve(process.cwd(), "node_modules"))) rmSync(resolve(process.cwd(), "node_modules"), { recursive: true }); | ||
execSync("npm i --only=prod dotenv"); | ||
console.info("[INFO] dotenv installed. Retrieving env data..."); | ||
console.info("[INFO] dotenv has been installed, trying to retrieve environment data..."); | ||
require("dotenv/config"); | ||
console.info("[INFO] Env data retrieved"); | ||
console.info("[INFO] Environment data has been retrieved."); | ||
} | ||
|
||
const isGlitch = ( | ||
|
@@ -72,14 +72,14 @@ if (isGitHub) { | |
if (isReplit && (Number(process.versions.node.split(".")[0]) < 16)) { | ||
console.info("[INFO] This Replit doesn't use Node.js v16 or newer, trying to install Node.js v16..."); | ||
execSync(`npm i --save-dev [email protected] && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH`); | ||
console.info("[INFO] Node.js v16 has installed, please re-run the bot."); | ||
console.info("[INFO] Node.js v16 has been installed, please restart the bot."); | ||
process.exit(0); | ||
} | ||
|
||
if (!isGlitch) { | ||
console.info("[INFO] This bot is not running on Glitch. Installing ffmpeg-static..."); | ||
execSync("npm i --only=prod --no-save ffmpeg-static"); | ||
console.info("[INFO] ffmpeg-static installed"); | ||
console.info("[INFO] This bot is not running on Glitch, trying to install ffmpeg-static..."); | ||
execSync("npm i --no-save ffmpeg-static"); | ||
console.info("[INFO] ffmpeg-static has been installed."); | ||
} | ||
|
||
if (isGlitch || isReplit) { | ||
|
@@ -103,7 +103,7 @@ if (isGlitch || isReplit) { | |
console.info("[INFO] Yt-dlp couldn't be found, trying to download..."); | ||
if (existsSync(resolve(ytdlBinaryDir, isUnix ? "youtube-dl" : "youtube-dl.exe"))) rmSync(resolve(ytdlBinaryDir, isUnix ? "youtube-dl" : "youtube-dl.exe")); | ||
await require("youtube-dl-exec/scripts/postinstall"); | ||
console.info("[INFO] Yt-dlp has downloaded."); | ||
console.info("[INFO] Yt-dlp has been downloaded."); | ||
} | ||
|
||
console.info("[INFO] Starting the bot..."); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.