Exemplo n.º 1
0
        static void SendMessage()
        {
            EzConsole EzC = new EzConsole();

            int index = new Random().Next(Dictionary.Count);                                                               // Selects a random string from the dictionary

            SendKeys.SendWait(Dictionary[index]);                                                                          // Types out the string into the Discord message box
            SendKeys.SendWait("{ENTER}");                                                                                  // Hits enter for you and sends the message

            Messages++;                                                                                                    // Increments the message value

            EzC.WriteLine($" [+] Sent message: {Dictionary[index]}", ConsoleColor.Magenta, false);                         // Outputs to console

            Console.Title = $"MEE6 Level-Up Bot | Developed by Centos#1337 | Messages: {Messages} | Cooldown: {Cooldown}"; // Updates the console title
        }
Exemplo n.º 2
0
        static void WriteTitle()
        {
            /*
             * Writes the title to the console
             */
            EzConsole EzC = new EzConsole();

            EzC.WriteLine(" ███╗   ███╗███████╗███████╗ ██████╗ ", ConsoleColor.Magenta, false);
            EzC.WriteLine(" ████╗ ████║██╔════╝██╔════╝██╔════╝ ", ConsoleColor.Magenta, false);
            EzC.WriteLine(" ██╔████╔██║█████╗  █████╗  ███████╗ ", ConsoleColor.Magenta, false);
            EzC.WriteLine(" ██║╚██╔╝██║██╔══╝  ██╔══╝  ██╔═══██╗", ConsoleColor.Magenta, false);
            EzC.WriteLine(" ██║ ╚═╝ ██║███████╗███████╗╚██████╔╝", ConsoleColor.Magenta, false);
            EzC.WriteLine(" ╚═╝     ╚═╝╚══════╝╚══════╝ ╚═════╝ ", ConsoleColor.Magenta, false);
            EzC.WriteLine("                                     ", ConsoleColor.Magenta, false);
        }
Exemplo n.º 3
0
        static int Cooldown             = 61; // MEE6 grants EXP for messages sent with a 60 second interval, this can be changed for other level up bots
        // I set the cooldown to 61 just to be on the safe side.

        static void Main(string[] args)
        {
            EzConsole EzC = new EzConsole();                                                                      // Creates new variable to access EzConsole methods

            Console.Title = $"MEE6 Level-Up Bot | Developed by Centos#1337 | Messages: 0 | Cooldown: {Cooldown}"; // Messages will stay as 0 for now

            WriteTitle();                                                                                         // Writes the big "MEE6" title


            if (args.Length <= 0) // If no file is provided... program ends
            {
                EzC.WriteLine(" [X] Please drag your wordlist onto this file (.txt only)!", ConsoleColor.Red, true);
                // Users need to drag their .txt file onto the exe to open it, program stops
            }

            // If file is provided, program carries on and starts to read the file

            string ext = Path.GetExtension(args[0]).Replace(".", ""); // Gets the extension of input file

            if (ext != "txt")                                         // If the file is not a txt file...
            {
                EzC.WriteLine(" [X] Please only input .txt files containing your wordlist!", ConsoleColor.Red, true);
            }

            // File is inputted and is a .txt file, carrying on...

            foreach (string line in File.ReadAllLines(args[0])) // for each line in the wordlist
            {
                // Populate the dictionary with the inputted word list
                Dictionary.Add(line);
            }

            // Dictionary now contains the words from the wordlist

            Task.Run(() => LoopTimer()); // Create a new thread to run the loop task

            Console.ReadLine();          // The end :D
        }