Answer the question
In order to leave comments, you need to log in
How to count number in discord.py library?
I am making a discord bot in python using the dicrord.py library, please correct the commands so that I read the number and immediately drive it into the
Commands variable:
@bot.command()
async def (здесь мы считываем и вставляем в переменную)(ctx):
if (число) > 50
await ctx.send('правильно')
Answer the question
In order to leave comments, you need to log in
@bot.command()
async def cmd(ctx, number: int):
await ctx.send(number)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question