public Task Init(SurveillanceApp app)
        {
            _discord = new DiscordGameSDK.Discord(ClientId, (ulong)CreateFlags.NoRequireDiscord);

            var completionSource = new TaskCompletionSource <bool>();
            var userManager      = _discord.GetUserManager();

            void HandleUserUpdate()
            {
                userManager.OnCurrentUserUpdate -= HandleUserUpdate;
                completionSource.SetResult(true);
            }

            userManager.OnCurrentUserUpdate += HandleUserUpdate;
            return(completionSource.Task);
        }
 public void Dispose()
 {
     _discord.Dispose();
     _discord = null;
 }