Make sure they're turned on in System Preferences > Notifications & Focus, and in the Discord app itself—make sure your status is set to Online or Idle so when you are pinged you get a notification. See first screenshot for how it should be in the app, and second screenshot for the settings in System Prefs.