Some new features and fixes for banterbot and topicbot. update to chatcloud

This commit is contained in:
RussellChamp committed 2018-04-24 15:21:29 +00:00
1 parent 3da5e4073c
commit e9fc646207
10 files changed
+187 -32

No files matched your search

+4 -1
View File
@@ -13,7 +13,7 @@ def make_puzzle(obfuscate=True):
puzzle = random.choice(["Prove you're not a robot: ", "Are you a robot?: ", "Anti-bot check: ", "Counter-cndorphant measures: ", "Cosnok countermeasures: ", "Anti-tildethief precautions: "])
puzzle += random.choice(["What is", "How many is", "What do you get from", "What do you get with", "What is the value of", "Can you answer", "Can you tell me"])
puzzle += " "
roll = random.randrange(0,15)
roll = random.randrange(0,18)
var1 = random.randrange(1,10)
var2 = random.randrange(1,10)
var3 = random.randrange(1,20)
@@ -73,6 +73,9 @@ def make_puzzle(obfuscate=True):
elif roll <= 14: #12-14
answer, puzzle = dict_puzzle.get_puzzle()
obfuscate = False
elif roll <= 17: #15-17
answer, puzzle = dict_puzzle.get_anagram()
obfuscate = False
puzzle += "?"
if obfuscate == True: