im trying to make my bot find badwords in the middle of a message. right now i got
if p_message == ‘badword’:
return ‘You just broke "Rule #3" and I think the admins heard you!!
’
I tried adding a .find method
if p_message == ‘badword’.find(“badword”):
return ‘You just broke "Rule #3" and I think the admins heard you!!
’
but that didnt do anything