Answer the question
In order to leave comments, you need to log in
Does the bot output only the first line of the file?
I can't understand why the bot outputs only the first line of the file, and ignores the subsequent ones
. bruh function:
def bruh():
for i in f:
print(i)
@bot.command()
async def s(ctx):
f = open('kittenB00ks.txt', 'r')
await ctx.send(embed=discord.Embed(description=f'{bruh()}', color=discord.Color.darker_grey()))
f.close()
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