package seedu.emeraldo.logic.commands;

import java.util.Random;

//@@author A0139196U
/**
 * Motivates the user upon request in the task manager.
 */
public class MotivateMeCommand extends Command {
    
    public static final String [] MESSAGE_MOTIVATE_LIST = {
            "Don't wish it was easier, wish you were better.", 
            "If not now, when?",
            "It does not matter how slowly you go as long as you do not stop.",
            "Time will pass, will you?",
            "When you feel like quitting, think about why you started.",
            "Every morning you have two choices: \ncontinue to sleep with your dreams, or wake up to chase them.",
            "Pain is temporary, quitting lasts forever.",
            "Do something instead of killing time. Because time is killing you.",
            "The only person you should try to be better than is the person you were yesterday.",
            "Do one thing everyday that scares you.",
            "If plan A doesn't work, you still have 25 letters.\nIf plan Z doesn't work, you still have numbers.",
            "The difference between ordinary and extraordinary is that little extra. Work it and don't give up!!",
            "Stop counting the days. Start making the days count.",
            "The secret to getting ahead is getting started. Start on one of your tasks today!"
    };
    public static final String COMMAND_WORD = "motivateme";

    public MotivateMeCommand() {}
    
    public CommandResult execute() {
        
        Random rand = new Random();
        
        int shuffler = rand.nextInt(MESSAGE_MOTIVATE_LIST.length);
        
        return new CommandResult(String.format(MESSAGE_MOTIVATE_LIST[shuffler]));
    }

    public static String [] getMessageMotivateList() {
        return MESSAGE_MOTIVATE_LIST;
    }
    
}

@@ -106,16 +106,41 @@
 he user 
+with motivational quotes 
 upon req
@@ -1382,16 +1382,357 @@
 %0A    %7D;%0A
+    %0A    public static final String %5B%5D TEXT_EMOJI_LIST = %7B%0A            %22  %EF%BC%BC%EF%BC%88%E2%97%8B%EF%BC%BE%CF%89%EF%BC%BE%E2%97%8B%EF%BC%89%EF%BC%8F%22,%0A            %22  %EF%BE%8D(%EF%BF%A3%E2%96%BD%EF%BF%A3*)%EF%BE%89%22,%0A            %22  %D9%A9(%5E%E1%B4%97%5E)%DB%B6%22,%0A            %22  %EF%BE%9F%E2%95%B2(%EF%BD%A1%E2%97%95%E2%80%BF%E2%97%95%EF%BD%A1)%E2%95%B1%EF%BE%9F%22,%0A            %22  (%E0%B8%87 %C2%B0%E2%97%A1%C2%B0 )%E0%B8%87%22,%0A            %22  (%E2%96%B0%CB%98%E2%97%A1%CB%98%E2%96%B0)%22,%0A            %22  ( %E0%B8%87 '%CC%80-'%CC%81) %E0%B8%87%22,%0A            %22  (%E0%B9%91%CB%83%CC%B5%E1%B4%97%CB%82%CC%B5)%D9%88%22,%0A            %22  (%E0%B9%91%E2%80%A2%CC%80%E3%85%82%E2%80%A2%CC%81)%D9%88%E2%9C%A7%22,%0A            %22  %E0%B3%95(%E2%80%A2%CC%80%E1%B4%97%E2%80%A2%CC%81)%22,%0A    %7D;%0A    %0A
     publ
@@ -1888,16 +1888,23 @@
 dom rand
+Message
  = new R
@@ -1912,32 +1912,68 @@
 ndom();%0A        
+Random randTextEmoji = new Random();
 %0A        int shu
@@ -1969,17 +1969,20 @@
     int 
-s
+msgS
 huffler 
@@ -1987,16 +1987,23 @@
 r = rand
+Message
 .nextInt
@@ -2034,16 +2034,91 @@
 ength);%0A
+        int emojiShuffler = randTextEmoji.nextInt(TEXT_EMOJI_LIST.length);%0A
         
@@ -2191,17 +2191,20 @@
 IST%5B
-s
+msgS
 huffler%5D
 ));%0A
@@ -2203,110 +2203,43 @@
 ler%5D
-));%0A    %7D%0A%0A    public static String %5B%5D getMessageMotivateList() %7B%0A        return MESSAGE_MOTIVATE_LIST
+ + TEXT_EMOJI_LIST%5BemojiShuffler%5D))
 ;%0A  

Add list of text emoji for aesthetics