It seems my if else statement throws a syntax error. I've read up on how if statements should be written (and the other if else statements in my script work with no issues) so I am not sure why there's an issue.
if small_wh <= 5.0:
    emColor = discord.Color.red
elif small_wh <= 15.0 and >= 5.1:
    emColor = discord.Color.orange
The >= (in the elif statement) is where it states the syntax error is.
 
     
     
     
    