async def game(ctx):
result = 0
result_bot = 0
diler = True
choice = True
stavka = True
balance = 0
await ctx.send('---BlackJack---')
await ctx.send('---------------')
time.sleep(0.6)
await ctx.send(f'Ваш баланс: {balance}')
time.sleep(0.6)
while stavka:
await ctx.send('Сколько хотите поставить?')
#.............
@bot.command('menu')
async def menu(ctx):
await ctx.send('| Что тебя интересует? |')
time.sleep(0.6)
await ctx.send('===|1|======|2|=======|3|===')
await ctx.send(' \ Баланс | Black Jack | Поддержка / ')
menu_s = await bot.wait_for('message')
if menu_s == "1":
await balance(ctx)
elif menu_s == "2":
await game(ctx)
elif menu_s == "3":
await support(ctx)