mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Cleaned up embedbuilder calls to use parameters instead of footer builder
This commit is contained in:
@@ -104,12 +104,12 @@ namespace NadekoBot.Modules.Games.Common
|
||||
if (_winner is null)
|
||||
{
|
||||
if (_phase == Phase.Ended)
|
||||
embed.WithFooter(efb => efb.WithText(GetText("ttt_no_moves")));
|
||||
embed.WithFooter(GetText("ttt_no_moves"));
|
||||
else
|
||||
embed.WithFooter(efb => efb.WithText(GetText("ttt_users_move", _users[_curUserIndex])));
|
||||
embed.WithFooter(GetText("ttt_users_move", _users[_curUserIndex]));
|
||||
}
|
||||
else
|
||||
embed.WithFooter(efb => efb.WithText(GetText("ttt_has_won", _winner)));
|
||||
embed.WithFooter(GetText("ttt_has_won", _winner));
|
||||
|
||||
return embed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user