fucking ephemeral
This commit is contained in:
@@ -81,7 +81,7 @@ namespace MareSynchronosServer.Discord
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
await arg.DeferAsync();
|
await arg.DeferAsync(ephemeral: true);
|
||||||
verificationQueue.Enqueue((async () => await HandleVerifyAsync(arg.User.Id), arg));
|
verificationQueue.Enqueue((async () => await HandleVerifyAsync(arg.User.Id), arg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -363,7 +363,7 @@ namespace MareSynchronosServer.Discord
|
|||||||
if (verificationQueue.TryDequeue(out var queueitem))
|
if (verificationQueue.TryDequeue(out var queueitem))
|
||||||
{
|
{
|
||||||
var dataEmbed = await queueitem.Item1.Invoke();
|
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");
|
logger.LogInformation("Sent login information to user");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user