Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be several reasons why the IF statements are not working.

  1. Incorrect indentation: Make sure that the IF statements are properly indented under the on_message event.

  2. Incorrect syntax: Double-check the syntax of the IF statements to make sure that they are properly formatted.

  3. Wrong condition: Ensure that the conditions in the IF statements are correct and being met.

  4. Conflicting conditions: There may be other IF statements or code in the function that could be conflicting with the intended IF statements.

  5. Discord API limitations: Some Discord API endpoints may have limitations on how frequently they can be called or may not work as expected due to server issues.

It's important to thoroughly review the code and rule out any possible issues before assuming that the IF statements are not working due to a bug in the library.