fix(aurora): set a default argument for the resolve command's string parameter
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s

This commit is contained in:
Seaswimmer 2024-08-13 15:11:39 -04:00
parent 48259df18f
commit a5e3a11479
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -46,7 +46,7 @@ class Aurora(commands.Cog):
This cog stores all of its data in an SQLite database."""
__author__ = ["Seaswimmer"]
__version__ = "3.0.0-indev5"
__version__ = "3.0.0-indev6"
__documentation__ = "https://seacogs.coastalcommits.com/aurora/"
async def red_delete_data_for_user(self, *, requester, user_id: int):
@ -822,7 +822,7 @@ class Aurora(commands.Cog):
@app_commands.command(name="resolve")
async def resolve(
self, interaction: discord.Interaction, case: int, reason: str | None = None
self, interaction: discord.Interaction, case: int, reason: str = "No reason provided."
):
"""Resolve a specific case.