Expected an indent block? How do I fix this?


#1

Hi. I’m using Python to create a discord bot. I have a few commands loaded, and I want to create my own help command. My code was working fine before, but now I get this error “IndentationError: expected an indented block” I’ve read online about this and I’ve tried like 5 different things but nothing is working. Here’s my code:

@client.command(pass_context=True)
    async def rhelp(ctx):
        await client.say("""
        !welcome (user) - Give a warm welcome to a new user
        !newbuild (BuildName) (Specs) - Create a new build listing
        !viewbuild (BuildName)- View someone's specs
        !deletebuild (BuildName) - Delete your build""")

Can someone please help me