add Stan, bdmtss, quote, layout mapping, upd README.md
This commit is contained in:
+10
@@ -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)
|
||||
Reference in New Issue
Block a user