mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
fucking ephemeral
This commit is contained in:
parent
fef74cc72a
commit
66affed8ae
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue