Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Quick update relating the Force Command
Browse files Browse the repository at this point in the history
  • Loading branch information
Pequla committed Apr 17, 2021
1 parent 8d59d88 commit b1d8d24
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void execute(MainPlugin plugin, Member member, TextChannel channel, Strin
access.insertData(args[1], args[2]);
access.close();
addMinecraftRole(args[1], jda);
channel.sendMessage("Success, the person has been manually verified").queue();
} catch (Exception e) {
plugin.handleException(e);
channel.sendMessage("Error: " + e.getMessage()).queue();
Expand All @@ -38,6 +39,7 @@ public void execute(MainPlugin plugin, Member member, TextChannel channel, Strin
if (args[0].equals("role")) {
if (args.length == 2) {
addMinecraftRole(args[1], jda);
channel.sendMessage("Success, role has been added").queue();
} else {
channel.sendMessage("Usage: `!force role <discord-id>`").queue();
}
Expand Down

0 comments on commit b1d8d24

Please sign in to comment.