fucking ephemeral

This commit is contained in:
Stanley Dimant
2022-08-03 00:36:54 +02:00
parent fef74cc72a
commit 66affed8ae

View File

@@ -81,7 +81,7 @@ namespace MareSynchronosServer.Discord
}
else
{
await arg.DeferAsync();
await arg.DeferAsync(ephemeral: true);
verificationQueue.Enqueue((async () => await HandleVerifyAsync(arg.User.Id), arg));
}
}
@@ -363,7 +363,7 @@ namespace MareSynchronosServer.Discord
if (verificationQueue.TryDequeue(out var queueitem))
{
var dataEmbed = await queueitem.Item1.Invoke();
await queueitem.Item2.FollowupAsync(embed: dataEmbed);
await queueitem.Item2.FollowupAsync(embed: dataEmbed, ephemeral: true);
logger.LogInformation("Sent login information to user");
}
}