def owoing(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(3) else: try: come = com.split("!owo ")[1] ccount = owoify(come) ccc = f"@{nam}, {ccount}" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def probability(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(3) else: try: per = random.randint(0, 100) come = com.split("!chances ")[1] ccc = f"@{nam}, the chances of {come} are {per}%" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def morestuff(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(5) else: try: per = random.randint(0, 100) come = com.split("!ship ")[1].split(" x ") ccc = f"{come[0]} is {str(per)}% in love with {come[1]}" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def coin(levelID): ninds = getComments(levelID) dsplit = ninds[0] nam = ninds[1] if nam.lower() in n: time.sleep(5) else: try: come = dsplit.split("!coinflip")[1] r = ['Heads', 'Tails'] response = r[random.randint(0, 2)] ccc = f"@{nam}, you flipped a coin and got... {response}!" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def eightball(levelID): ninds = getComments(levelID) dsplit = ninds[0] nam = ninds[1] if nam.lower() in n: time.sleep(5) else: try: come = dsplit.split("!8ball ")[1] r = random.randint(0, 20) response = balls[r] ccc = f"@{nam}, {response}" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def commentBot(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(3) else: try: come = com.split("!demon ")[1] ccc = getDemons(come) if come.lower() == "kenos": ccc = f"@{nam} YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def covid(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(3) else: try: come = com.split("!covid ")[1] if come.lower() == "all": ccount = coronatime.everything() else: ccount = coronatime.specific(come) ccc = f"@{nam}, {ccount}" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def banning(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in admins: try: ds = com.split("!ban ")[1].lower() with open("banana.txt", "a") as zxz: zxz.write(f";{ds}") zxz.close() ccc = f"{ds} has been banned." bettercomm.uploadGJComment(userName, password1, ccc, levelID) time.sleep(10) print("Succ") except: return "" else: time.sleep(5)
def ggay(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(5) else: try: if "npesta" in com.lower(): ccc = f"@{nam} npesta cocm island speedrun" else: per = random.randint(0, 100) come = com.split("!howgay ")[1] ccc = f"{come} is {str(per)}% gay" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""
def stats(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(3) else: try: come = com.split("!stats ")[1] ccc = getuserinfo(come) if nam.lower() == "tapris": cc = f"@{nam} <3, {ccc[0]} has {ccc[1]} stars, {ccc[2]} diamonds, {ccc[3]} secret coins, {ccc[4]} user coins, {ccc[5]} demons and {ccc[6]} CP" else: cc = f"@{nam}, {ccc[0]} has {ccc[1]} stars, {ccc[2]} diamonds, {ccc[3]} secret coins, {ccc[4]} user coins, {ccc[5]} demons and {ccc[6]} CP" bettercomm.uploadGJComment(userName, password1, cc, levelID) print("Succ") except: return ""
def translateBot(levelID): dsplit = getComments(levelID) com = dsplit[0] nam = dsplit[1] if nam.lower() in n: time.sleep(3) else: try: if com.startswith("!translate "): come = com.split("!translate ")[1].split(" | ")[0] lang = com.split(" | ")[1].split(" / ")[0] dest = com.split(" | ")[1].split(" / ")[1] pp = translateXXX(come, lang, dest) ccc = f"@{nam}, {pp}" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return "" time.sleep(7)
def chknm(levelID): ninds = getComments(levelID) dsplit = ninds[0] nam = ninds[1] if nam.lower() in n: time.sleep(5) else: try: come = dsplit.split("!checkname ")[1] result = accountID(come) if result == "Failed!": result1 = "not taken" else: result1 = "taken" ccc = f"@{nam}, {come} is {result1}" bettercomm.uploadGJComment(userName, password1, ccc, levelID) print("Succ") except: return ""