package com.tisawesomeness.minecord.command.admin;

import com.tisawesomeness.minecord.command.Command;
import com.tisawesomeness.minecord.util.MessageUtils;

import net.dv8tion.jda.api.events.message.MessageReceivedEvent;

public class ShutdownCommand extends Command {
	
	public CommandInfo getInfo() {
		return new CommandInfo(
			"shutdown",
			"Shuts down the bot.",
			null,
			null,
			0,
			true,
			true,
			false
		);
	}
	
	public Result run(String[] args, MessageReceivedEvent e) {
		MessageUtils.log(":x: **Bot shut down by " + e.getAuthor().getName() + "**");
		e.getJDA().shutdown();
		System.exit(0);
		return new Result(Outcome.SUCCESS);
	}
	
}

@@ -566,16 +566,80 @@
  %22**%22);%0A
+%09%09e.getTextChannel().sendMessage(%22:wave: Goodbye!%22).complete();%0A
 %09%09e.getJ

Add shutdown message