Skip to content

Commit

Permalink
依存関係を更新して、YouTube側の新しい変更を処理します
Browse files Browse the repository at this point in the history
  • Loading branch information
kosugikun committed Sep 5, 2019
1 parent f4b590b commit 737cba6
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 774 deletions.
5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

790 changes: 25 additions & 765 deletions .idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jagrosh</groupId>
<artifactId>JMusicBot</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<packaging>jar</packaging>

<repositories>
Expand All @@ -28,7 +28,7 @@
<dependency>
<groupId>com.sedmelluq</groupId>
<artifactId>lavaplayer</artifactId>
<version>1.3.17</version>
<version>1.3.19</version>
</dependency>
<dependency>
<groupId>com.jagrosh</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/jagrosh/jmusicbot/JMusicBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static void main(String[] args)
Bot bot = new Bot(waiter, config, settings);

AboutCommand aboutCommand = new AboutCommand(Color.BLUE.brighter(),
"[ホストするのは簡単](https://github.com/Cosgy-Dev/MusicBot-JP-java)であるミュージックボット(v"+version+")",
"[ホストするのは簡単](https://github.com/Cosgy-Dev/MusicBot-JP-java)MusicBot(v"+version+")",
new String[]{"High-quality music playback", "FairQueue™ Technology", "Easy to host yourself"},
RECOMMENDED_PERMS);
aboutCommand.setIsAuthor(false);
Expand Down Expand Up @@ -177,7 +177,7 @@ else if(config.getGame().getName().equalsIgnoreCase("none"))
JDA jda = new JDABuilder(AccountType.BOT)
.setToken(config.getToken())
.setAudioEnabled(true)
.setGame(nogame ? null : Game.playing("loading..."))
.setGame(nogame ? null : Game.playing("ロード中..."))
.setStatus(config.getStatus()==OnlineStatus.INVISIBLE||config.getStatus()==OnlineStatus.OFFLINE ? OnlineStatus.INVISIBLE : OnlineStatus.DO_NOT_DISTURB)
.addEventListener(client, waiter, new Listener(bot))
.setBulkDeleteSplittingEnabled(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ else if (list.size()>1)
else
{
s.setDJRole(list.get(0));
event.reply(event.getClient().getSuccess()+"DJコマンドは現在、これらのユーザーが使用することができます **"+list.get(0).getName()+"** role.");
event.reply(event.getClient().getSuccess()+"DJコマンドは役割が、**"+list.get(0).getName()+"**のユーザーが使用することができます");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ else if (list.size()>1)
else
{
s.setTextChannel(list.get(0));
event.reply(event.getClient().getSuccess()+"音楽コマンドは現在しか使用できません <#"+list.get(0).getId()+">");
event.reply(event.getClient().getSuccess()+"音楽コマンドは現在<#"+list.get(0).getId()+">でしか使用できません");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ else if (list.size()>1)
else
{
s.setVoiceChannel(list.get(0));
event.reply(event.getClient().getSuccess()+"音楽は現在しか再生できません **"+list.get(0).getName()+"**");
event.reply(event.getClient().getSuccess()+"音楽は**"+list.get(0).getName()+"**でのみ再生します。");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void execute(CommandEvent event) {
event.getTextChannel().sendMessage(new EmbedBuilder()
.setTitle("JMusicBot JP", null)
.setColor(Color.blue)
.setDescription("2019/07/06更新")
.setDescription("2019/08/31更新")
.addField("ボットバージョン", "0.1.0", false)
.addField("ライセンス", "Apache License 2.0", false)
.addField("著作権","Copyright 2017 John Grosh", false)
Expand Down

0 comments on commit 737cba6

Please sign in to comment.