Ask coding questions

← Back to all posts
why
PhoenixFoxx (0)

im getting an indent error on the value set of pog, but why?

Answered by Coder100 (18920) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18920)


this is invalid syntax fix

db['pog'] = ('willon absoluly hates you')

Also here is the correct code for lines 19-23 (you had a missing space)

@client.command()
async def weetard(ctx):
   for char in 'pog':
     await ctx.send('youre stupid!')
     time.sleep(6900)
InvisibleOne (3224)

change

async def weetard(ctx):
   for char in 'pog':
     await ctx.send('youre stupid!')
    time.sleep(6900)

to

async def weetard(ctx):
  for char in 'pog':
    await ctx.send('youre stupid!')
    time.sleep(6900)