This would work, were it not for some freak stack corruption caused by GCC not liking the Discord RPC library...