fixed nick change

literally just made it do the thing before posting the message
This commit is contained in:
Lan
2022-02-26 21:35:28 +02:00
parent bb9a95a658
commit 5eba608962
2 changed files with 1 additions and 2 deletions

View File

@@ -400,8 +400,8 @@ namespace Kehyeedra3.Commands
}
else
{
await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nLet's fucking goooo");
await usr.ModifyAsync(x => x.Nickname = $"{name}");
await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nLet's fucking goooo");
}
}
else

View File

@@ -14,7 +14,6 @@
<PackageReference Include="Discord.Net.Labs.Webhook" Version="2.3.3" />
<PackageReference Include="Discord.Net.Labs.WebSocket" Version="2.3.9-pre" />
<PackageReference Include="dotenv.net" Version="2.1.3" />
<PackageReference Include="LostTech.TensorFlow.GPT" Version="0.1.0" />
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="7.23.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.11">
<PrivateAssets>all</PrivateAssets>