#ConsumeRest and Optional

1 messages · Page 1 of 1 (latest)

royal nexusBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

harsh wren
#

It's optional because settopic on its own is to clear the set topic

#

Oh I see.. I want this (this works)

    async def settopic_cmd(
        self,
        ctx: PrefixedContext,
        *,
        topic: Optional[str] = None,
    ):