Was using the tutorial on how to make the discord bot, however a few errors popped up, can someone tell me where I went wrong?
it seems like a simple indentation error. python relies on accurate usage of whitespace to know where certain functions should end.
Currently your if condition sits outside of the scope of
on_message and therefore when it tries to access
message, it does not exist.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.