Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions techsupport_bot/commands/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class IssueCreator(cogs.BaseCog):
usage="[title] [description]",
)
async def issue(
self: Self, ctx: commands.Context, title: str, description: str
self: Self, ctx: commands.Context, title: str, description: str = ""
) -> None:
"""Creates an issue in the bot's Github Repo

Expand All @@ -75,7 +75,7 @@ async def issue(
Args:
ctx (commands.Context): the context object for the calling message
title (str): the title of the issue
description (str): the description of the issue
description (str, optional): the description of the issue. Defaults to ""
"""

if not self.bot.file_config.api.github.api_key:
Expand Down