You can update your Mac by opening the System Preferences app, where you'll find the "Software Update" option.
The Discord desktop app automatically checks for updates when you open it, but you'll have to use your phone's app store to update the mobile app.