Updated help text
This commit is contained in:
parent
557eac2292
commit
4f6612c21b
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ public class DiscordPlugin extends JavaPlugin implements IListener<ReadyEvent> {
|
||||||
TBMCCoreAPI.RegisterEventsForExceptions(new MCListener(), this);
|
TBMCCoreAPI.RegisterEventsForExceptions(new MCListener(), this);
|
||||||
TBMCChatAPI.AddCommands(this, DiscordMCCommandBase.class);
|
TBMCChatAPI.AddCommands(this, DiscordMCCommandBase.class);
|
||||||
TBMCCoreAPI.RegisterUserClass(DiscordPlayer.class);
|
TBMCCoreAPI.RegisterUserClass(DiscordPlayer.class);
|
||||||
new Thread(this::AnnouncementGetterThreadMethod).start(); //TODO: Handle relogging (test)
|
new Thread(this::AnnouncementGetterThreadMethod).start();
|
||||||
setupProviders();
|
setupProviders();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
TBMCCoreAPI.SendException("An error occured while enabling DiscordPlugin!", e);
|
TBMCCoreAPI.SendException("An error occured while enabling DiscordPlugin!", e);
|
||||||
|
|
|
@ -26,7 +26,7 @@ public class ResetMCCommand extends TBMCCommandBase { //Not player-only, so not
|
||||||
public String[] GetHelpText(String s) {
|
public String[] GetHelpText(String s) {
|
||||||
return new String[]{ //
|
return new String[]{ //
|
||||||
"§6---- Reset ChromaBot ----", //
|
"§6---- Reset ChromaBot ----", //
|
||||||
"This command stops the Minecraft chat and relogs the bot." //
|
"This command disables and then enables the plugin." //
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue