blob: 46a8be624e62923956923824a1d8c12f110172ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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) + ")")
|