forked from Pavel_Durov/python_bot
фикс
This commit is contained in:
parent
c734044b71
commit
e677591b97
@ -7,9 +7,9 @@ def ChangeWord(result): #выбирает рандомное слово для
|
|||||||
with open("dicktxt/dick_changes.yaml", 'r') as f:
|
with open("dicktxt/dick_changes.yaml", 'r') as f:
|
||||||
words = yaml.load(f, Loader=yaml.Loader)
|
words = yaml.load(f, Loader=yaml.Loader)
|
||||||
|
|
||||||
dick_inc = ( f'<b>{w}</b>' for w in words['increment'] )
|
dick_inc = [ f'<b>{w}</b>' for w in words['increment'] ]
|
||||||
dick_static = ( f'<b>{w}</b>' for w in words['nothing'] )
|
dick_static = [ f'<b>{w}</b>' for w in words['nothing'] ]
|
||||||
dick_decr = ( f'<b>{w}</b>' for w in words['decrement'] )
|
dick_decr = [ f'<b>{w}</b>' for w in words['decrement'] ]
|
||||||
|
|
||||||
if result > 0:
|
if result > 0:
|
||||||
size_change = random.choice(dick_inc) + '🚀'
|
size_change = random.choice(dick_inc) + '🚀'
|
||||||
|
Loading…
Reference in New Issue
Block a user