reads from file

main
Nicholas Hope 2022-11-26 00:19:40 -05:00
parent 1d8c6a1b13
commit dc599e0e61
1 changed files with 5 additions and 5 deletions

View File

@ -118,19 +118,19 @@ def once(tooter: Tooter):
# message = check_public_timeline(tooter)
message = f'{tooter.name} says hi!'
print(
# random sentence
# random sentence...
random.choice(
# from a random line
# from a random line...
random.choice(
# from a random file
# from a random file...
random.choice(
list(tooter.files.values())
)
)
# stripped and split on full stops
# stripped and split on full stops...
.strip().split('.')
)
# stripped of weird punctuation
# and of weird punctuation
.strip()
)
return 0