fix: Fixed .ttt and gifted strings

docs: Updated changelog
dev: Updated some packages
This commit is contained in:
Kwoth
2024-05-14 18:36:33 +00:00
parent 869b9d3b9d
commit d51dfa88f1
5 changed files with 12 additions and 11 deletions

View File

@@ -466,7 +466,7 @@ public partial class Gambling : GamblingModule<GamblingService>
return;
}
await Response().Confirm(strs.gifted(N(amount), Format.Bold(receiver.ToString()))).SendAsync();
await Response().Confirm(strs.gifted(N(amount), Format.Bold(receiver.ToString()), ctx.User)).SendAsync();
}
[Cmd]
@@ -508,7 +508,7 @@ public partial class Gambling : GamblingModule<GamblingService>
}
await _cs.AddAsync(usr.Id, amount, new("award", ctx.User.ToString()!, msg, ctx.User.Id));
await Response().Confirm(strs.awarded(N(amount), $"<@{usrId}>")).SendAsync();
await Response().Confirm(strs.awarded(N(amount), $"<@{usrId}>", ctx.User)).SendAsync();
}
[Cmd]

View File

@@ -37,7 +37,7 @@ public partial class Games
game = new(Strings, _client, channel, (IGuildUser)ctx.User, options, _sender);
_service.TicTacToeGames.Add(channel.Id, game);
await Response().Confirm(strs.ttt_created).SendAsync();
await Response().Confirm(strs.ttt_created(ctx.User)).SendAsync();
game.OnEnded += _ =>
{

View File

@@ -31,14 +31,14 @@
<PackageReference Include="CodeHollow.FeedReader" Version="1.2.6"/>
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
<PackageReference Include="Discord.Net" Version="3.204.0"/>
<PackageReference Include="CoreCLR-NCalc" Version="3.0.203"/>
<PackageReference Include="CoreCLR-NCalc" Version="3.1.246" />
<PackageReference Include="Google.Apis.Urlshortener.v1" Version="1.41.1.138"/>
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.62.1.3205"/>
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.68.0.3414" />
<PackageReference Include="Google.Apis.Customsearch.v1" Version="1.49.0.2084"/>
<!-- <PackageReference Include="Grpc.AspNetCore" Version="2.62.0" />-->
<PackageReference Include="Google.Protobuf" Version="3.26.1"/>
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.62.0"/>
<PackageReference Include="Grpc.Tools" Version="2.62.0">
<PackageReference Include="Grpc.Tools" Version="2.63.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
@@ -68,7 +68,7 @@
<PackageReference Include="OneOf" Version="3.0.263"/>
<PackageReference Include="OneOf.SourceGenerator" Version="3.0.263"/>
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1"/>
<PackageReference Include="Serilog.Sinks.Seq" Version="7.0.0"/>
<PackageReference Include="Serilog.Sinks.Seq" Version="7.0.1" />
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta17"/>
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8"/>

View File

@@ -230,7 +230,7 @@
"user_unbanned": "User unbanned",
"presence_updates": "Presence updates",
"sb_user": "User soft-banned",
"awarded": "has awarded {0} to {1}",
"awarded": "{2} has awarded {0} to {1}",
"better_luck": "Better luck next time ^_^",
"br_win": "Congratulations! You won {0} for rolling above {1}",
"deck_reshuffled": "Deck reshuffled.",
@@ -241,7 +241,7 @@
"cards_left": "{0} cards left in the deck.",
"cards": "Cards",
"hand_value": "Hand value",
"gifted": "has gifted {0} to {1}",
"gifted": "{2} has gifted {0} to {1}",
"has": "{0} has {1}",
"heads": "Head",
"mass_award": "Awarded {0} to {1} users from {2} role.",
@@ -366,7 +366,7 @@
"ttt_against_yourself": "You can't play against yourself.",
"ttt_already_running": "TicTacToe Game is already running in this channel.",
"ttt_a_draw": "A draw!",
"ttt_created": "has created a game of TicTacToe.",
"ttt_created": "{0} has created a game of TicTacToe.",
"ttt_has_won": "{0} has won!",
"ttt_matched_three": "Matched three",
"ttt_no_moves": "No moves left!",