Open the discord app and go to the particular server where you need to add friends on the app. Right-click on the title of the server. There will be a menu. From that menu, choose to invite friends & you will see an invitation link appear on that pop-up menu.