rebranding changes
This commit is contained in:
@@ -184,9 +184,9 @@ internal class DiscordBot : IHostedService
|
||||
private async Task GenerateOrUpdateWizardMessage(SocketTextChannel channel, IUserMessage? prevMessage)
|
||||
{
|
||||
EmbedBuilder eb = new EmbedBuilder();
|
||||
eb.WithTitle("Mare Services Bot Interaction Service");
|
||||
eb.WithTitle("Namazu Services Bot Interaction Service");
|
||||
eb.WithDescription("Press \"Start\" to interact with this bot!" + Environment.NewLine + Environment.NewLine
|
||||
+ "You can handle all of your Mare account needs in this server through the easy to use interactive bot prompt. Just follow the instructions!");
|
||||
+ "You can handle all of your Namazu account needs in this server through the easy to use interactive bot prompt. Just follow the instructions!");
|
||||
eb.WithThumbnailUrl("https://raw.githubusercontent.com/Penumbra-Sync/repo/main/MareSynchronos/images/icon.png");
|
||||
var cb = new ComponentBuilder();
|
||||
cb.WithButton("Start", style: ButtonStyle.Primary, customId: "wizard-captcha:true", emote: Emoji.Parse("➡️"));
|
||||
@@ -427,7 +427,7 @@ internal class DiscordBot : IHostedService
|
||||
var onlineUsers = await _connectionMultiplexer.GetServer(endPoint).KeysAsync(pattern: "UID:*").CountAsync().ConfigureAwait(false);
|
||||
|
||||
_logger.LogInformation("Users online: " + onlineUsers);
|
||||
await _discordClient.SetActivityAsync(new Game("Mare for " + onlineUsers + " Users")).ConfigureAwait(false);
|
||||
await _discordClient.SetActivityAsync(new Game("Namazu for " + onlineUsers + " Users")).ConfigureAwait(false);
|
||||
await Task.Delay(TimeSpan.FromSeconds(10)).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ public class MareModule : InteractionModuleBase
|
||||
if (primaryUser == null)
|
||||
{
|
||||
eb.WithTitle("No account");
|
||||
eb.WithDescription("No Mare account was found associated to your Discord user");
|
||||
eb.WithDescription("No Namazu account was found associated to your Discord user");
|
||||
return eb;
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ public class MareModule : InteractionModuleBase
|
||||
if (userInDb == null)
|
||||
{
|
||||
eb.WithTitle("No account");
|
||||
eb.WithDescription("The Discord user has no valid Mare account");
|
||||
eb.WithDescription("The Discord user has no valid Namazu account");
|
||||
return eb;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public partial class MareWizardModule
|
||||
eb.WithColor(Color.Blue);
|
||||
eb.WithTitle("Recover");
|
||||
eb.WithDescription("In case you have lost your secret key you can recover it here." + Environment.NewLine + Environment.NewLine
|
||||
+ "## ⚠️ **Once you recover your key, the previously used key will be invalidated. If you use Mare on multiple devices you will have to update the key everywhere you use it.** ⚠️" + Environment.NewLine + Environment.NewLine
|
||||
+ "## ⚠️ **Once you recover your key, the previously used key will be invalidated. If you use Namazu on multiple devices you will have to update the key everywhere you use it.** ⚠️" + Environment.NewLine + Environment.NewLine
|
||||
+ "Use the selection below to select the user account you want to recover." + Environment.NewLine + Environment.NewLine
|
||||
+ "- 1️⃣ is your primary account/UID" + Environment.NewLine
|
||||
+ "- 2️⃣ are all your secondary accounts/UIDs" + Environment.NewLine
|
||||
@@ -79,7 +79,7 @@ public partial class MareWizardModule
|
||||
+ Environment.NewLine
|
||||
+ "__NOTE: The Secret Key only contains the letters ABCDEF and numbers 0 - 9.__"
|
||||
+ Environment.NewLine + Environment.NewLine
|
||||
+ "Enter this key in the Mare Synchronos Service Settings and reconnect to the service.");
|
||||
+ "Enter this key in the Namazu Sync Service Settings and reconnect to the service.");
|
||||
|
||||
await db.Auth.AddAsync(auth).ConfigureAwait(false);
|
||||
await db.SaveChangesAsync().ConfigureAwait(false);
|
||||
|
||||
@@ -23,9 +23,9 @@ public partial class MareWizardModule
|
||||
eb.WithColor(Color.Blue);
|
||||
eb.WithTitle("Secondary UID");
|
||||
eb.WithDescription("You can create secondary UIDs here. " + Environment.NewLine + Environment.NewLine
|
||||
+ "Secondary UIDs act as completely separate Mare accounts with their own pair list, joined syncshells, UID and so on." + Environment.NewLine
|
||||
+ "Use this to create UIDs if you want to use Mare on two separate game instances at once or keep your alts private." + Environment.NewLine + Environment.NewLine
|
||||
+ "__Note:__ Creating a Secondary UID is _not_ necessary to use Mare for alts." + Environment.NewLine + Environment.NewLine
|
||||
+ "Secondary UIDs act as completely separate Namazu accounts with their own pair list, joined syncshells, UID and so on." + Environment.NewLine
|
||||
+ "Use this to create UIDs if you want to use Namazu on two separate game instances at once or keep your alts private." + Environment.NewLine + Environment.NewLine
|
||||
+ "__Note:__ Creating a Secondary UID is _not_ necessary to use Namazu for alts." + Environment.NewLine + Environment.NewLine
|
||||
+ $"You currently have {secondaryUids} Secondary UIDs out of a maximum of 20.");
|
||||
ComponentBuilder cb = new();
|
||||
AddHome(cb);
|
||||
@@ -81,7 +81,7 @@ public partial class MareWizardModule
|
||||
|
||||
await db.SaveChangesAsync().ConfigureAwait(false);
|
||||
|
||||
embed.WithDescription("A secondary UID for you was created, use the information below and add the secret key to the Mare setings in the Service Settings tab.");
|
||||
embed.WithDescription("A secondary UID for you was created, use the information below and add the secret key to the Namazu setings in the Service Settings tab.");
|
||||
embed.AddField("UID", newUser.UID);
|
||||
embed.AddField("Secret Key", computedHash);
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ public partial class MareWizardModule
|
||||
eb.WithColor(Color.Green);
|
||||
eb.WithTitle("Vanity UID successfully set");
|
||||
eb.WithDescription($"Your Vanity UID for \"{uid}\" was successfully changed to \"{desiredVanityUid}\"." + Environment.NewLine + Environment.NewLine
|
||||
+ "For changes to take effect you need to reconnect to the Mare service.");
|
||||
+ "For changes to take effect you need to reconnect to the Namazu service.");
|
||||
await _botServices.LogToChannel($"{Context.User.Mention} VANITY UID SET: UID: {user.UID}, Vanity: {desiredVanityUid}").ConfigureAwait(false);
|
||||
AddHome(cb);
|
||||
}
|
||||
@@ -195,7 +195,7 @@ public partial class MareWizardModule
|
||||
eb.WithColor(Color.Green);
|
||||
eb.WithTitle("Vanity Syncshell ID successfully set");
|
||||
eb.WithDescription($"Your Vanity Syncshell ID for {gid} was successfully changed to \"{desiredVanityGid}\"." + Environment.NewLine + Environment.NewLine
|
||||
+ "For changes to take effect you need to reconnect to the Mare service.");
|
||||
+ "For changes to take effect you need to reconnect to the Namazu service.");
|
||||
AddHome(cb);
|
||||
await _botServices.LogToChannel($"{Context.User.Mention} VANITY GID SET: GID: {group.GID}, Vanity: {desiredVanityGid}").ConfigureAwait(false);
|
||||
}
|
||||
|
||||
@@ -155,10 +155,10 @@ public partial class MareWizardModule : InteractionModuleBase
|
||||
#endif
|
||||
|
||||
EmbedBuilder eb = new();
|
||||
eb.WithTitle("Welcome to the Mare Synchronos Service Bot for this server");
|
||||
eb.WithTitle("Welcome to the Namazu Sync Service Bot for this server");
|
||||
eb.WithDescription("Here is what you can do:" + Environment.NewLine + Environment.NewLine
|
||||
+ (!hasAccount ? string.Empty : ("- Check your account status press \"ℹ️ User Info\"" + Environment.NewLine))
|
||||
+ (hasAccount ? string.Empty : ("- Register a new Mare Account press \"🌒 Register\"" + Environment.NewLine))
|
||||
+ (hasAccount ? string.Empty : ("- Register a new Namazu Account press \"🌒 Register\"" + Environment.NewLine))
|
||||
+ (!hasAccount ? string.Empty : ("- You lost your secret key press \"🏥 Recover\"" + Environment.NewLine))
|
||||
+ (hasAccount ? string.Empty : ("- If you have changed your Discord account press \"🔗 Relink\"" + Environment.NewLine))
|
||||
+ (!hasAccount ? string.Empty : ("- Create a secondary UIDs press \"2️⃣ Secondary UID\"" + Environment.NewLine))
|
||||
|
||||
Reference in New Issue
Block a user