Skip to content

Commit

Permalink
Merge pull request #649 from hwangsihu/main
Browse files Browse the repository at this point in the history
Formatting , Update message, and add watermarks
  • Loading branch information
LucasB25 authored Jul 31, 2024
2 parents a9b7922 + 6448774 commit 081354d
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 10 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@

## 🔥 Unique Features

- User-friendly and Easy to Use
- Highly Configurable
- Customizable Prefix
- Multilingual support
- Hybrid Command Handling (Slash and Normal Commands)
- Developed using TypeScript and Discord.js v14
- Advanced Music System
- Customizable Prefix
- Powerful Search Engine
- 12 + Music Filters
- Hybrid Command Handling (Slash and Normal Commands)
- Highly Configurable
- User-friendly and Easy to Use
- 24/7 Music Playback
- Playlist commands
- Music channel system
Expand Down
4 changes: 2 additions & 2 deletions locales/Korean.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"content": "안녕하세요! 저는 [Lavamusic](https://github.com/appujet/lavamusic)과 Discord로 만들어진 음악 봇이에요. `{prefix}help <명령어>`를 사용하여 그 명령어의 자세한 정보를 얻을 수 있어요.",
"title": "도움말 메뉴",
"not_found": "`{cmdName}` 명령어는 존재하지 않아요.",
"help_cmd": "**설명:** {description}\n**사용 방법:** {usage}\n**예시:** {examples}\n**줄인 명령어:** {aliases}\n**카테고리:** {category}\n**쿨다운:** {cooldown}초\n**필요한 권한:** {premUser}\n**봇에게 필요한 권한:** {premBot}\n**개발자 전용:** {dev}\n**빗금 명령어(/) 사용 가능:** {slash}\n**인수:** {args}\n**노래 재생 중에만 사용 가능:** {player}\n**DJ만 사용 가능:** {dj}\n**DJ에게 필요한 권한:** {djPerm}\n**음성 채널 접속 중에만 사용 가능:** {voice}",
"help_cmd": "**설명:** {description}\n**사용 방법:** {usage}\n**예시:** {examples}\n**줄인 명령어:** {aliases}\n**카테고리:** {category}\n**쿨다운:** {cooldown}초\n**필요한 권한:** {premUser}\n**봇에게 필요한 권한:** {premBot}\n**개발자 전용:** {dev}\n**빗금 명령어 사용 가능:** {slash}\n**인수 필요:** {args}\n**노래 재생 중에만 사용 가능:** {player}\n**DJ만 사용 가능:** {dj}\n**DJ에게 필요한 권한:** {djPerm}\n**음성 채널 접속 중에만 사용 가능:** {voice}",
"footer": "명령어에 대한 자세한 내용을 보려면 {prefix}help <command>를 사용하세요."
},
"botinfo": {
Expand Down Expand Up @@ -327,7 +327,7 @@
"not_seekable": "노래의 길이를 이동할 수 없어 다시 재생할 수 없어요."
},
"messages": {
"replaying": "노래를 다시 재생했어요."
"replaying": "노래를 다시 재생할게요."
}
},
"resume": {
Expand Down
15 changes: 13 additions & 2 deletions src/commands/dev/Deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ export default class Deploy extends Command {
collector.on("collect", async (interaction) => {
if (interaction.customId === "deploy-global") {
await client.deployCommands();
await interaction.update({ content: "Commands deployed globally", components: [] });
await interaction.update({ content: "Commands deployed globally.", components: [] });
} else if (interaction.customId === "deploy-guild") {
await client.deployCommands(interaction.guild.id);
await interaction.update({ content: "Commands deployed in this guild", components: [] });
await interaction.update({ content: "Commands deployed in this guild.", components: [] });
}
});

Expand All @@ -70,3 +70,14 @@ export default class Deploy extends Command {
});
}
}

/**
* Project: lavamusic
* Author: Appu
* Main Contributor: LucasB25
* Company: Coders
* Copyright (c) 2024. All rights reserved.
* This code is the property of Coder and may not be reproduced or
* modified without permission. For more information, contact us at
* https://discord.gg/ns8CTk9J3e
*/
13 changes: 12 additions & 1 deletion src/commands/dev/Restart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class Restart extends Command {

collector.on("collect", async (i) => {
await i.deferUpdate();
await msg.edit({ content: "Restarting the bot...", components: [] });
await msg.edit({ content: "Restarting the bot...", embeds: [], components: [] });
await client.destroy();
exec("node scripts/restart.ts");
process.exit(0);
Expand All @@ -63,3 +63,14 @@ export default class Restart extends Command {
});
}
}

/**
* Project: lavamusic
* Author: Appu
* Main Contributor: LucasB25
* Company: Coders
* Copyright (c) 2024. All rights reserved.
* This code is the property of Coder and may not be reproduced or
* modified without permission. For more information, contact us at
* https://discord.gg/ns8CTk9J3e
*/
2 changes: 1 addition & 1 deletion src/events/client/Ready.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AutoPoster } from "topgg-autoposter";
import config from "../../config.js";
import { Event, type Lavamusic } from "../../structures/index.js";
import { AutoPoster } from "topgg-autoposter";

export default class Ready extends Event {
constructor(client: Lavamusic, file: string) {
Expand Down

0 comments on commit 081354d

Please sign in to comment.