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