add Stan, bdmtss, quote, layout mapping, upd README.md

This commit is contained in:
Rykov7
2022-12-18 07:45:47 +03:00
parent ef5f123375
commit 14a6d69bf8
5 changed files with 79 additions and 13 deletions
+10
View File
@@ -0,0 +1,10 @@
""" Stan quote generator. """
import random
stan = [i.rstrip() for i in open('Stan.txt', 'r', encoding='utf8')]
def speak(chance):
chance = random.randint(0, chance)
if chance == 0:
return random.choice(stan)