From 71cd83a7ef558fe1a0797e5cb81f744feefcac62 Mon Sep 17 00:00:00 2001 From: owner Date: Sun, 21 Jun 2020 16:50:11 +0900 Subject: [PATCH] =?UTF-8?q?Class=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/jarRepositories.xml | 35 +++++++++++++++++++ .../bungeediscordchat/BungeeDiscordChat.kt | 7 ++-- .../commands/PrivateMessage/ReplyCommand.kt | 8 +++++ .../commands/PrivateMessage/TellCommand.kt | 8 +++++ .../commands/ReplyCommand.java | 4 --- .../commands/TellCommand.java | 4 --- 6 files changed, 53 insertions(+), 13 deletions(-) create mode 100644 .idea/jarRepositories.xml create mode 100644 src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/ReplyCommand.kt create mode 100644 src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/TellCommand.kt delete mode 100644 src/main/java/mc/mec/bungeediscordchat/commands/ReplyCommand.java delete mode 100644 src/main/java/mc/mec/bungeediscordchat/commands/TellCommand.java diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..5f0dbd3 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/mc/mec/bungeediscordchat/BungeeDiscordChat.kt b/src/main/java/mc/mec/bungeediscordchat/BungeeDiscordChat.kt index bb62548..b22eeb4 100644 --- a/src/main/java/mc/mec/bungeediscordchat/BungeeDiscordChat.kt +++ b/src/main/java/mc/mec/bungeediscordchat/BungeeDiscordChat.kt @@ -1,7 +1,5 @@ package mc.mec.bungeediscordchat -import mc.mec.bungeediscordchat.commands.ReplyCommand -import mc.mec.bungeediscordchat.commands.TellCommand import mc.mec.bungeediscordchat.japanize.JapanizeType import mc.mec.bungeediscordchat.japanize.Japanizer import net.md_5.bungee.api.ChatColor @@ -12,7 +10,6 @@ import net.md_5.bungee.api.event.ChatEvent import net.md_5.bungee.api.plugin.Listener import net.md_5.bungee.api.plugin.Plugin import net.md_5.bungee.event.EventHandler -import java.text.SimpleDateFormat import java.util.* @@ -26,7 +23,7 @@ class BungeeDiscordChat : Plugin(), Listener{ var discord = DiscordBot() override fun onEnable() { - /** + /* for (command in arrayOf( "tell", "msg", "message", "m", "w", "t")) { proxy.pluginManager.registerCommand( @@ -36,7 +33,7 @@ class BungeeDiscordChat : Plugin(), Listener{ proxy.pluginManager.registerCommand( this, ReplyCommand(this, command)) } - **/ + */ proxy.pluginManager.registerListener(this, this) } diff --git a/src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/ReplyCommand.kt b/src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/ReplyCommand.kt new file mode 100644 index 0000000..5aff0ee --- /dev/null +++ b/src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/ReplyCommand.kt @@ -0,0 +1,8 @@ +package mc.mec.bungeediscordchat.commands.PrivateMessage + +/** + * Created by testusuke on 2020/06/21 + * @author testusuke + */ +class ReplyCommand { +} \ No newline at end of file diff --git a/src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/TellCommand.kt b/src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/TellCommand.kt new file mode 100644 index 0000000..cbf51c7 --- /dev/null +++ b/src/main/java/mc/mec/bungeediscordchat/commands/PrivateMessage/TellCommand.kt @@ -0,0 +1,8 @@ +package mc.mec.bungeediscordchat.commands.PrivateMessage + +/** + * Created by testusuke on 2020/06/21 + * @author testusuke + */ +class TellCommand { +} \ No newline at end of file diff --git a/src/main/java/mc/mec/bungeediscordchat/commands/ReplyCommand.java b/src/main/java/mc/mec/bungeediscordchat/commands/ReplyCommand.java deleted file mode 100644 index 58aacb9..0000000 --- a/src/main/java/mc/mec/bungeediscordchat/commands/ReplyCommand.java +++ /dev/null @@ -1,4 +0,0 @@ -package mc.mec.bungeediscordchat.commands; - -public class ReplyCommand { -} \ No newline at end of file diff --git a/src/main/java/mc/mec/bungeediscordchat/commands/TellCommand.java b/src/main/java/mc/mec/bungeediscordchat/commands/TellCommand.java deleted file mode 100644 index 6fffb1e..0000000 --- a/src/main/java/mc/mec/bungeediscordchat/commands/TellCommand.java +++ /dev/null @@ -1,4 +0,0 @@ -package mc.mec.bungeediscordchat.commands; - -public class TellCommand { -} \ No newline at end of file