Skip to content

Commit

Permalink
Update legal.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCos17 committed Aug 17, 2024
1 parent cd875b0 commit bd0822d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions legal/legal.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def __init__(self, bot):
self.bot = bot

@commands.command(name="subpoena")
async def subpoena_command(self, ctx, *, target_name: str, case_number: str, case_type: str, court_location: str, documents: str, date: str, signature: str):
async def subpoena_command(self, ctx, *, target_name: str, case_number: str = "N/A", case_type: str = "N/A", court_location: str = "N/A", documents: str = "N/A", date: str = "N/A", signature: str = "N/A"):
"""Generate a subpoena with advanced details."""
embed = discord.Embed(
title="SUBPOENA",
Expand Down Expand Up @@ -89,4 +89,3 @@ async def warrant_command(self, ctx, target_name: str, reason: str, date: str, s
embed.add_field(name="Case Details", value="Case Number: [Case Number]\nCase Type: [Case Type]\nCourt Location: [Court Location]", inline=False)

await ctx.send(embed=embed)

0 comments on commit bd0822d

Please sign in to comment.