mirror of
https://github.com/mii443/BungeeDiscordChat.git
synced 2025-08-22 15:05:29 +00:00
Class作成
This commit is contained in:
35
.idea/jarRepositories.xml
generated
Normal file
35
.idea/jarRepositories.xml
generated
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jcenter" />
|
||||||
|
<option name="name" value="jcenter-bintray" />
|
||||||
|
<option name="url" value="https://jcenter.bintray.com" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jetbrains-all" />
|
||||||
|
<option name="name" value="jetbrains-all" />
|
||||||
|
<option name="url" value="http://repository.jetbrains.com/all" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="sonatype" />
|
||||||
|
<option name="name" value="sonatype" />
|
||||||
|
<option name="url" value="https://oss.sonatype.org/content/groups/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -1,7 +1,5 @@
|
|||||||
package mc.mec.bungeediscordchat
|
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.JapanizeType
|
||||||
import mc.mec.bungeediscordchat.japanize.Japanizer
|
import mc.mec.bungeediscordchat.japanize.Japanizer
|
||||||
import net.md_5.bungee.api.ChatColor
|
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.Listener
|
||||||
import net.md_5.bungee.api.plugin.Plugin
|
import net.md_5.bungee.api.plugin.Plugin
|
||||||
import net.md_5.bungee.event.EventHandler
|
import net.md_5.bungee.event.EventHandler
|
||||||
import java.text.SimpleDateFormat
|
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
|
||||||
@ -26,7 +23,7 @@ class BungeeDiscordChat : Plugin(), Listener{
|
|||||||
var discord = DiscordBot()
|
var discord = DiscordBot()
|
||||||
|
|
||||||
override fun onEnable() {
|
override fun onEnable() {
|
||||||
/**
|
/*
|
||||||
for (command in arrayOf(
|
for (command in arrayOf(
|
||||||
"tell", "msg", "message", "m", "w", "t")) {
|
"tell", "msg", "message", "m", "w", "t")) {
|
||||||
proxy.pluginManager.registerCommand(
|
proxy.pluginManager.registerCommand(
|
||||||
@ -36,7 +33,7 @@ class BungeeDiscordChat : Plugin(), Listener{
|
|||||||
proxy.pluginManager.registerCommand(
|
proxy.pluginManager.registerCommand(
|
||||||
this, ReplyCommand(this, command))
|
this, ReplyCommand(this, command))
|
||||||
}
|
}
|
||||||
**/
|
*/
|
||||||
|
|
||||||
proxy.pluginManager.registerListener(this, this)
|
proxy.pluginManager.registerListener(this, this)
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
package mc.mec.bungeediscordchat.commands.PrivateMessage
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by testusuke on 2020/06/21
|
||||||
|
* @author testusuke
|
||||||
|
*/
|
||||||
|
class ReplyCommand {
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package mc.mec.bungeediscordchat.commands.PrivateMessage
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by testusuke on 2020/06/21
|
||||||
|
* @author testusuke
|
||||||
|
*/
|
||||||
|
class TellCommand {
|
||||||
|
}
|
@ -1,4 +0,0 @@
|
|||||||
package mc.mec.bungeediscordchat.commands;
|
|
||||||
|
|
||||||
public class ReplyCommand {
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
package mc.mec.bungeediscordchat.commands;
|
|
||||||
|
|
||||||
public class TellCommand {
|
|
||||||
}
|
|
Reference in New Issue
Block a user