Bass Command #329

Merged
greg6775 merged 23 commits from greg-dev into master 2020-01-17 17:59:53 +01:00
Showing only changes of commit 69761c6428 - Show all commits

View file

@ -25,7 +25,9 @@ public class WakaTimeCommand implements Command {
try {
Response response = new OkHttpClient().newCall(request).execute();
JSONObject json = new JSONObject(response.body().string());
event.getTextChannel().sendMessage("jisdfids").queue();
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"",
"").build()).queue();
} catch (JSONException e) {
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(
MessageEditor.MessageType.ERROR,