Answer the question
In order to leave comments, you need to log in
How to make the bot output a random number after entering the command?
from random import randint
N=1
array=list()
for i in range (N):
array.append (randint(0,100))
@bot.command()
async def random(ctx):
embed = discord.Embed(
title= f"Рандомное число - {array}",
)
await ctx.send(embed=embed)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question