why doesn't it work? I don't know
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,2 @@
|
|||||||
*/
|
*/
|
||||||
config.json
|
*.json
|
||||||
savefile.json
|
|
||||||
|
|||||||
@@ -20,14 +20,12 @@ def main():
|
|||||||
# get settings if applicable
|
# get settings if applicable
|
||||||
neuter = False
|
neuter = False
|
||||||
wait = 5
|
wait = 5
|
||||||
try:
|
if "autotoot" in config:
|
||||||
c = config["autotoot"]
|
c = config["autotoot"]
|
||||||
if "neuter" in c:
|
if "neuter" in c:
|
||||||
neuter = c["neuter"].lower() == "true"
|
neuter = c["neuter"].lower() == "true"
|
||||||
if "wait" in c:
|
if "wait" in c:
|
||||||
wait = int(c["wait"])
|
wait = int(c["wait"])
|
||||||
except:
|
|
||||||
pass
|
|
||||||
print(neuter, wait)
|
print(neuter, wait)
|
||||||
# make bots
|
# make bots
|
||||||
masto = bot(config, neuter=neuter)
|
masto = bot(config, neuter=neuter)
|
||||||
|
|||||||
Reference in New Issue
Block a user