diff --git a/ChaosBot/Discord/Modules/User/Lodestone.cs b/ChaosBot/Discord/Modules/User/Lodestone.cs index 392f858..8cd5c6a 100644 --- a/ChaosBot/Discord/Modules/User/Lodestone.cs +++ b/ChaosBot/Discord/Modules/User/Lodestone.cs @@ -198,7 +198,7 @@ namespace ChaosBot.Discord.Modules.User lsChar.DiscordGuildId = Context.Guild.Id; lsChar.Name = character.Character.Name; lsChar.Avatar = character.Character.Avatar; - + await dbContext.LodestoneCharacter.Upsert(lsChar) .On(x => new {x.DiscordGuildId, x.LodestoneId}).RunAsync(); } @@ -207,6 +207,10 @@ namespace ChaosBot.Discord.Modules.User sb.AppendLine( $"{Context.User.Mention} has been successfully linked to {character.Character.Name}"); embed.Description = sb.ToString(); + + IGuildUser nUser = await Context.Guild.GetUserAsync(Context.User.Id); + await nUser.ModifyAsync(x => { x.Nickname = character.Character.Name; }); + await ReplyAsync(null, false, embed.Build()); } else