lol i can not maintain a project

This commit is contained in:
Jess 3Jane 2018-02-20 11:51:25 -05:00
parent e500cf705d
commit 36e673fad9

3
gen.py
View file

@ -1,5 +1,6 @@
import markovify
import json
import time
from mastodon import Mastodon
api_base_url = "https://botsin.space"
@ -16,7 +17,7 @@ print("Running...")
while True:
print("tooting")
# This is not the best long term fix tbh
sentance = None
sentence = None
while sentence is None:
sentence = model.make_sentence()
client.toot(sentence.replace(chr(31), "\n"))