fixed more stuff
This commit is contained in:
parent
80fffbce3c
commit
43c8999f35
|
@ -1 +1 @@
|
|||
13
|
||||
14
|
|
@ -111,7 +111,6 @@ translation
|
|||
radar
|
||||
existence
|
||||
air
|
||||
string
|
||||
change
|
||||
hara-kiri
|
||||
aa
|
||||
|
@ -360,7 +359,6 @@ metadata
|
|||
pollen
|
||||
collation
|
||||
spalt
|
||||
yerba buena
|
||||
seventh heaven
|
||||
ahinsa
|
||||
tick-tack-toe
|
||||
|
|
6
mcsb.py
6
mcsb.py
|
@ -263,7 +263,7 @@ def get_a_noun():
|
|||
|
||||
while True:
|
||||
print("forming another toot...")
|
||||
random_number: int = random.randint(0, 2)
|
||||
random_number: int = random.randint(0, 1)
|
||||
action: Optional[str]
|
||||
if random_number == 0:
|
||||
action = get_an_action()
|
||||
|
@ -273,7 +273,7 @@ while True:
|
|||
noun1 = get_a_noun()
|
||||
noun2 = get_a_noun()
|
||||
mastodon.toot(meme.format(action, noun1, noun2))
|
||||
print("tooted " + meme.format(action, noun1, noun2).lower())
|
||||
print("tooted " + meme.format(action, noun1, noun2))
|
||||
elif random_number == 1:
|
||||
action = get_a_food_action()
|
||||
if action is None:
|
||||
|
@ -282,6 +282,6 @@ while True:
|
|||
noun1 = get_a_noun()
|
||||
noun2 = get_a_noun()
|
||||
mastodon.toot(meme.format(action, noun1, noun2).lower())
|
||||
print("tooted " + meme.format(action, noun1, noun2))
|
||||
print("tooted " + meme.format(action, noun1, noun2).lower())
|
||||
|
||||
sleep(43200) # toot twice a day
|
||||
|
|
Loading…
Reference in New Issue