From 3cb0b54e02482431c600619844cfc54270a7aad7 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 12 Mar 2023 23:55:46 +0100 Subject: [PATCH] Doing something weird --- recruitmentCog/recruitment.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index 3c9018b..19e7a89 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -15,9 +15,10 @@ class Recruitment(commands.Cog): def __init__(self, bot: Red): self.bot = bot + self.message: str = '' - @commands.group(name="application") - async def application(self, ctx: commands.Context) -> None: + @commands.group(name="application", usage="[text]", invoke_without_command=True) + async def application(self, ctx: commands.Context, *, _application: str = ""): author = ctx.author # Check if the command was sent in a direct message to the bot