added checkCustomPerm and tweaked command function to allow me to update the bot