import pyautogui import time import ctypes from datetime import datetime import os ctypes.windll.kernel32.SetConsoleTitleA("Ugly Cat's Level Up Service - Version 1.0") print("How to use:") print("#1 Navigate to Kat's Korner") print("#2 Open the text channel #emote-spam") print("#3 Click on the message bar") print("DISCLAIMER: Please do not navigate off of the Discord message bar, this method only works if you are not doing anything else.") print() time.sleep(2) answer2 = input("How often do you want to send an emote? (45 is HIGHLY recommended): ") answer3 = input("What emote would you like to send? (e.g. uglycatdrool): ") answer = input("Once you are ready, type \"start\": ") while answer != "start": answer = input("Once ready, type \"start\": ") print("Send time has been set to", str(answer2), "seconds") print() print("Starting level-up service...") print() total = 0 while True: total = total + 1 time.sleep(int(answer2)) pyautogui.typewrite(":" + answer3 + ":") pyautogui.hotkey("enter") now = datetime.now() current_time = now.strftime("%H:%M:%S") print("[" + str(current_time) + "]", "Message sent. (Total:", str(total) + ")")