summaryrefslogtreecommitdiff
path: root/mee6-level-up-sin.py
diff options
context:
space:
mode:
authorSin <[email protected]>2020-07-30 18:36:44 -0700
committerGitHub <[email protected]>2020-07-30 18:36:44 -0700
commit215edb273699cfe334ace781fa5512948bfa45a7 (patch)
tree3eb8a6d9ca858de56cb4f9a4038a3843f0636a2a /mee6-level-up-sin.py
downloadmee6-level-up-sin-master.tar.xz
mee6-level-up-sin-master.zip
Add files via uploadHEADmaster
Diffstat (limited to 'mee6-level-up-sin.py')
-rw-r--r--mee6-level-up-sin.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/mee6-level-up-sin.py b/mee6-level-up-sin.py
new file mode 100644
index 0000000..46a8be6
--- /dev/null
+++ b/mee6-level-up-sin.py
@@ -0,0 +1,36 @@
+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) + ")")