Packaged game crashes on launch, but in game engine it works

Process: SubwayChaos [4829]
Path: /Users/USER/Desktop/*/
Identifier: com.YourCompany.SubwayChaos
Version: 4.22.3 (4.22.3)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SubwayChaos [4829]
User ID: 501

Date/Time:             2021-01-22 22:16:23.726 -0500
OS Version:            Mac OS X 10.15.7 (19H15)
Report Version:        12
Anonymous UUID:        B563F0B3-9392-9797-C3B4-B96DFDFAB78B

Time Awake Since Boot: 2200 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/libdiscord-rpc.dylib
  Referenced from: /Users/USER/Desktop/*/
  Reason: image not found

Binary Images:
       0x1021b3000 -        0x1074e5c37 +com.YourCompany.SubwayChaos (4.22.3 - 4.22.3) <421692A7-D0B9-3EC7-9333-813D91451F99> /Users/USER/Desktop/*/
       0x1176af000 -        0x117740f47  dyld (750.6) <1D318D60-C9B0-3511-BE9C-82AFD2EF930D> /usr/lib/dyld
    0x7fff66a8c000 -     0x7fff66adefff  libc++.1.dylib (902.1) <59A8239F-C28A-3B59-B8FA-11340DC85EDC> /usr/lib/libc++.1.dylib

a more indepth crash log

Got this message when I try to open up my packaged game, in fact it just completely crashes and doesn’t open. However, in the actual editor, the plugin works and everything is just fine.

mootbing@Cowlands-MacBook-Pro ~ % /Users/mootbing/Desktop/Unreal_Completed/MacNoEditor/ ; exit;
dyld: Library not loaded: @rpath/libdiscord-rpc.dylib
  Referenced from: /Users/mootbing/Desktop/Unreal_Completed/MacNoEditor/
  Reason: image not found
zsh: abort      

[Process completed]

How I fixed it?
Don’t use a deprecated library. The DiscordRPC library hasn’t been updated for nearly 2 years now. Use a supported library!