mirror of
https://github.com/plexusorg/Module-Guilds.git
synced 2024-10-31 18:17:11 +00:00
add custom chat handling
This commit is contained in:
parent
46c84527df
commit
e1384b4118
@ -5,6 +5,7 @@ import dev.plex.data.SQLGuildManager;
|
|||||||
import dev.plex.data.SQLManager;
|
import dev.plex.data.SQLManager;
|
||||||
import dev.plex.guild.Guild;
|
import dev.plex.guild.Guild;
|
||||||
import dev.plex.guild.GuildHolder;
|
import dev.plex.guild.GuildHolder;
|
||||||
|
import dev.plex.handler.ChatHandlerImpl;
|
||||||
import dev.plex.listener.impl.ChatListener;
|
import dev.plex.listener.impl.ChatListener;
|
||||||
import dev.plex.module.PlexModule;
|
import dev.plex.module.PlexModule;
|
||||||
import dev.plex.storage.StorageType;
|
import dev.plex.storage.StorageType;
|
||||||
@ -47,6 +48,8 @@ public class Guilds extends PlexModule
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.getPlex().setChatHandler(new ChatHandlerImpl());
|
||||||
|
|
||||||
|
|
||||||
this.addDefaultMessage("guildsHelpCommand", "<gradient:gold:yellow>======</gradient>Guild Menu<gradient:gold:yellow>======</gradient><newline>\n" +
|
this.addDefaultMessage("guildsHelpCommand", "<gradient:gold:yellow>======</gradient>Guild Menu<gradient:gold:yellow>======</gradient><newline>\n" +
|
||||||
"<newline><gold>/guild <gray>Returns this menu\n" +
|
"<newline><gold>/guild <gray>Returns this menu\n" +
|
||||||
|
Loading…
Reference in New Issue
Block a user