[Discord] Optimize and improve is permitted check method
[Discord] Optimize and improve is permitted check method

Is permitted check now stops at first parent command with any explicit permission setting, rather than looking through all parent commands for any permitted setting

Harmon758/Harmonbot,Harmon758/Harmonbot