mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
fix: Fixed .ttt and gifted strings
docs: Updated changelog dev: Updated some packages
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
||||||
|
|
||||||
## [5.0.6]
|
## [5.0.6] - 14.05.2024
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
@@ -12,6 +12,7 @@ Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except da
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed `.blackjack` response string as it contained no user name
|
- Fixed `.blackjack` response string as it contained no user name
|
||||||
|
- Fixed `.ttt` and `.gift` strings not mentioning the user
|
||||||
|
|
||||||
## [5.0.5] - 11.05.2024
|
## [5.0.5] - 11.05.2024
|
||||||
|
|
||||||
|
@@ -466,7 +466,7 @@ public partial class Gambling : GamblingModule<GamblingService>
|
|||||||
return;
|
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]
|
[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 _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]
|
[Cmd]
|
||||||
|
@@ -37,7 +37,7 @@ public partial class Games
|
|||||||
|
|
||||||
game = new(Strings, _client, channel, (IGuildUser)ctx.User, options, _sender);
|
game = new(Strings, _client, channel, (IGuildUser)ctx.User, options, _sender);
|
||||||
_service.TicTacToeGames.Add(channel.Id, game);
|
_service.TicTacToeGames.Add(channel.Id, game);
|
||||||
await Response().Confirm(strs.ttt_created).SendAsync();
|
await Response().Confirm(strs.ttt_created(ctx.User)).SendAsync();
|
||||||
|
|
||||||
game.OnEnded += _ =>
|
game.OnEnded += _ =>
|
||||||
{
|
{
|
||||||
|
@@ -31,14 +31,14 @@
|
|||||||
<PackageReference Include="CodeHollow.FeedReader" Version="1.2.6"/>
|
<PackageReference Include="CodeHollow.FeedReader" Version="1.2.6"/>
|
||||||
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
|
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
|
||||||
<PackageReference Include="Discord.Net" Version="3.204.0"/>
|
<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.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="Google.Apis.Customsearch.v1" Version="1.49.0.2084"/>
|
||||||
<!-- <PackageReference Include="Grpc.AspNetCore" Version="2.62.0" />-->
|
<!-- <PackageReference Include="Grpc.AspNetCore" Version="2.62.0" />-->
|
||||||
<PackageReference Include="Google.Protobuf" Version="3.26.1"/>
|
<PackageReference Include="Google.Protobuf" Version="3.26.1"/>
|
||||||
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.62.0"/>
|
<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>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
<PackageReference Include="OneOf" Version="3.0.263"/>
|
<PackageReference Include="OneOf" Version="3.0.263"/>
|
||||||
<PackageReference Include="OneOf.SourceGenerator" 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.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.Fonts" Version="1.0.0-beta17"/>
|
||||||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8"/>
|
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8"/>
|
||||||
|
@@ -230,7 +230,7 @@
|
|||||||
"user_unbanned": "User unbanned",
|
"user_unbanned": "User unbanned",
|
||||||
"presence_updates": "Presence updates",
|
"presence_updates": "Presence updates",
|
||||||
"sb_user": "User soft-banned",
|
"sb_user": "User soft-banned",
|
||||||
"awarded": "has awarded {0} to {1}",
|
"awarded": "{2} has awarded {0} to {1}",
|
||||||
"better_luck": "Better luck next time ^_^",
|
"better_luck": "Better luck next time ^_^",
|
||||||
"br_win": "Congratulations! You won {0} for rolling above {1}",
|
"br_win": "Congratulations! You won {0} for rolling above {1}",
|
||||||
"deck_reshuffled": "Deck reshuffled.",
|
"deck_reshuffled": "Deck reshuffled.",
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
"cards_left": "{0} cards left in the deck.",
|
"cards_left": "{0} cards left in the deck.",
|
||||||
"cards": "Cards",
|
"cards": "Cards",
|
||||||
"hand_value": "Hand value",
|
"hand_value": "Hand value",
|
||||||
"gifted": "has gifted {0} to {1}",
|
"gifted": "{2} has gifted {0} to {1}",
|
||||||
"has": "{0} has {1}",
|
"has": "{0} has {1}",
|
||||||
"heads": "Head",
|
"heads": "Head",
|
||||||
"mass_award": "Awarded {0} to {1} users from {2} role.",
|
"mass_award": "Awarded {0} to {1} users from {2} role.",
|
||||||
@@ -366,7 +366,7 @@
|
|||||||
"ttt_against_yourself": "You can't play against yourself.",
|
"ttt_against_yourself": "You can't play against yourself.",
|
||||||
"ttt_already_running": "TicTacToe Game is already running in this channel.",
|
"ttt_already_running": "TicTacToe Game is already running in this channel.",
|
||||||
"ttt_a_draw": "A draw!",
|
"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_has_won": "{0} has won!",
|
||||||
"ttt_matched_three": "Matched three",
|
"ttt_matched_three": "Matched three",
|
||||||
"ttt_no_moves": "No moves left!",
|
"ttt_no_moves": "No moves left!",
|
||||||
|
Reference in New Issue
Block a user