Updated code for better bot configuration
Fixed Permission Command Bugs