Mege cleanup

This commit is contained in:
Cal Corum 2024-12-24 16:10:44 -06:00
parent 19cdf969d1
commit fddb06b2fe
4 changed files with 1 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import json
import db_calls_gameplay
from gauntlets import evolve_pokemon
from helpers import *
from db_calls import *
from discord import Member
from discord.ext import commands, tasks
from discord import app_commands

View File

@ -438,7 +438,6 @@ class Gameplay(commands.Cog):
content=f'Creating this game for {t_role.mention}:\n{this_game}'
)
@commands.command(name='force-endgame', help='Mod: Force a game to end without stats')
async def force_end_game_command(self, ctx: commands.Context):
with Session(engine) as session:
@ -570,7 +569,6 @@ class Gameplay(commands.Cog):
bat_view = sub_batter_dropdown_view(session, this_game, owner_team, this_order)
await interaction.edit_original_response(content=f'### {owner_team.lname} Substitution', view=bat_view)
group_log = app_commands.Group(name='log', description='Log a play in this channel\'s game')
@group_log.command(name='flyball', description='Flyballs: a, b, ballpark, bq, c')

View File

@ -14,7 +14,6 @@ from helpers import RARITY, get_or_create_role, send_to_channel, get_channel
from api_calls import db_get, db_post, db_delete, db_patch
from in_game.gameplay_models import Team
from in_game.gameplay_queries import get_team_or_none
from db_calls import db_get, db_post, db_delete, db_patch
from utilities.dropdown import DropdownView, SelectPokemonEvolution

View File

@ -8,6 +8,7 @@ from discord import SelectOption
from discord.utils import MISSING
from sqlmodel import Session
from api_calls import db_delete, db_get, db_post
from exceptions import CardNotFoundException, PlayNotFoundException, log_exception
from helpers import get_card_embeds
from in_game.game_helpers import legal_check