Added website to pom.xml (fixed FIXME)

Corrected comments in CommandAbout and CommandStatus
This commit is contained in:
vacer25 2020-04-24 18:36:21 -04:00
parent a93de6368b
commit 4d16d2f292
3 changed files with 3 additions and 4 deletions

View File

@ -9,8 +9,7 @@
<version>1.0-SNAPSHOT</version>
<name>discord-whitelister</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<url>https://github.com/JoeShimell/DiscordWhitelisterSpigot</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -11,7 +11,7 @@ import uk.co.angrybee.joe.VersionInfo;
public class CommandAbout implements CommandExecutor {
// /dw
// version command
// about command
@Override
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
sender.sendMessage("[DW] DiscordWhiteLister by JoeShimell\nhttps://github.com/JoeShimell/DiscordWhitelisterSpigot");

View File

@ -11,7 +11,7 @@ import uk.co.angrybee.joe.VersionInfo;
public class CommandStatus implements CommandExecutor {
// /dw
// version command
// version & status command
@Override
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
String discordOnlineStatus = DiscordClient.getOnlineStatus();