Last Check

This commit is contained in:
2025-08-31 11:45:09 +02:00
parent dd0dfac701
commit d119bf83b5
3 changed files with 7 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ public partial class MareHub
if (group == null || sender == null) return;
// TODO: Add and check chat permissions
if (group.Alias?.Equals("Loporrit", StringComparison.Ordinal) ?? false)
if (group.Alias?.Equals("Umbra", StringComparison.Ordinal) ?? false)
{
await Clients.Caller.Client_ReceiveServerMessage(MessageSeverity.Warning, $"Chat is disabled for syncshell '{dto.GroupAliasOrGID}'.").ConfigureAwait(false);
return;

View File

@@ -80,7 +80,7 @@ public partial class MareHub : Hub<IMareHub>, IMareHub
dbUser.LastLoggedIn = DateTime.UtcNow;
await DbContext.SaveChangesAsync().ConfigureAwait(false);
await Clients.Caller.Client_ReceiveServerMessage(MessageSeverity.Information, "Welcome to Loporrit, Current Online Users: " + _systemInfoService.SystemInfoDto.OnlineUsers).ConfigureAwait(false);
await Clients.Caller.Client_ReceiveServerMessage(MessageSeverity.Information, "Welcome to Umbra, Current Online Users: " + _systemInfoService.SystemInfoDto.OnlineUsers).ConfigureAwait(false);
return new ConnectionDto(new UserData(dbUser.UID, string.IsNullOrWhiteSpace(dbUser.Alias) ? null : dbUser.Alias))
{

View File

@@ -76,7 +76,7 @@ public class MareModule : InteractionModuleBase
}
else
{
// Loporrit - Register immediately
// Umbra - Register immediately
var user = new User();
var hasValidUid = false;
@@ -121,7 +121,7 @@ public class MareModule : InteractionModuleBase
+ Environment.NewLine + Environment.NewLine
+ $"**{computedHash}**"
+ Environment.NewLine + Environment.NewLine
+ "Enter this key in Loporrit Sync and hit Connect / Reconnect."
+ "Enter this key in Umbra Sync and hit Connect / Reconnect."
+ Environment.NewLine
+ "Have fun.");
@@ -209,7 +209,7 @@ public class MareModule : InteractionModuleBase
}
}
// Loporrit - Disable /verify command
// Umbra - Disable /verify command
//[SlashCommand("verify", "Finishes the registration process for the Mare Synchronos server of this Discord")]
public async Task Verify()
{
@@ -246,7 +246,7 @@ public class MareModule : InteractionModuleBase
}
}
// Loporrit - Disable /verify command
// Umbra - Disable /verify command
//[SlashCommand("verify_relink", "Finishes the relink process for your user on the Mare Synchronos server of this Discord")]
public async Task VerifyRelink()
{
@@ -766,7 +766,7 @@ public class MareModule : InteractionModuleBase
+ Environment.NewLine + Environment.NewLine
+ $"**{computedHash}**"
+ Environment.NewLine + Environment.NewLine
+ "Enter this key in Loporrit Sync and hit save to connect to the service.");
+ "Enter this key in Umbra Sync and hit save to connect to the service.");
await db.Auth.AddAsync(auth).ConfigureAwait(false);
await db.SaveChangesAsync().ConfigureAwait(false);