mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:27:22 +01:00
adjust date and register forced command
This commit is contained in:
parent
2984660389
commit
d3ea056375
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ namespace MareSynchronosServer.Discord
|
|||
if (discordAuthedUser != null && discordAuthedUser.User != null)
|
||||
{
|
||||
logger.LogInformation("User will be purged on next round of deletions: " + discordAuthedUser.User);
|
||||
discordAuthedUser.User.LastLoggedIn = new DateTime(1900, 0, 0);
|
||||
discordAuthedUser.User.LastLoggedIn = new DateTime(1900, 1, 1);
|
||||
db.Remove(discordAuthedUser);
|
||||
await db.SaveChangesAsync();
|
||||
}
|
||||
|
|
@ -294,7 +294,7 @@ namespace MareSynchronosServer.Discord
|
|||
var cb = new SlashCommandBuilder();
|
||||
cb.WithName("register");
|
||||
cb.WithDescription("Starts the registration process for the Mare Synchronos server of this Discord");
|
||||
cb.AddOption("forced", ApplicationCommandOptionType.Boolean, "Will forcefully overwrite your current character on the service, if present", false, false);
|
||||
cb.AddOption("forced", ApplicationCommandOptionType.SubCommand, "Will forcefully overwrite your current character on the service, if present", false, false);
|
||||
|
||||
var cb2 = new SlashCommandBuilder();
|
||||
cb2.WithName("verify");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue