File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1010from registration import RegistrationSettings
1111from pug import Teams
1212
13+ # pylint: disable=too-many-positional-arguments
14+
1315
1416async def send_boolean_menu (menu : BotMenu , interaction : Interaction ) -> bool :
1517 """Creates and sends a boolean menu.
@@ -243,16 +245,16 @@ async def update_teams(self, teams: Teams) -> None:
243245 raise ValueError (f"Invalid view action: { self .action } " )
244246
245247 if self .action == "random" :
246- self .embed .add_field (name = "🔴 Red Team" , value = red_team_string )
247248 self .embed .add_field (name = "🔵 Blu Team" , value = blu_team_string )
249+ self .embed .add_field (name = "🔴 Red Team" , value = red_team_string )
248250 else :
249- self .embed .add_field (
250- name = f"🔴 Red Team\n Score: { (red_team_score / team_count ):.2f} " ,
251- value = red_team_string ,
252- )
253251 self .embed .add_field (
254252 name = f"🔵 Blu Team\n Score: { (blu_team_score / team_count ):.2f} " ,
255253 value = blu_team_string ,
256254 )
255+ self .embed .add_field (
256+ name = f"🔴 Red Team\n Score: { (red_team_score / team_count ):.2f} " ,
257+ value = red_team_string ,
258+ )
257259
258260 self .embed .description = f"Current generation mode: { self .action .capitalize ()} "
You can’t perform that action at this time.
0 commit comments