I am trying to add a suggestion command on my discord bot, but I get the following error: File "c:\Users\Shadow\Desktop\testbot.py", line 411 m = await client.get_channel(779765858066497536).send(embed=embed) ^ IndentationError: unindent does not match any outer indentation level
does anyone know how to fix it? my code will be below.
reactions = ["✅", "❌"]
@client.command()
async def suggest(ctx, *, question):
embed=discord.Embed(title="Met Police Suggestion :white_check_mark")
embed.add_field(name="Suggestion:", value=f"{question}")
embed.add_field(name="Author:", value=f"{ctx.author.mention}")
m = await client.get_channel(779765858066497536).send(embed=embed)
for name in reactions:
emoji = get(ctx.guild.emojis, name=name)
await m.add_reaction(emoji or name)
I know it is something to do with indenting, but I've tried all sorts of indenting and it just won't work.