Skip to content

Figure out how to use boolean flags with empty values #811

Open
@github-actions

Description

@github-actions

# TODO: Figure out how to use boolean flags with empty values

import discord
from discord.ext import commands

from prisma.enums import CaseType
from tux.utils.constants import CONST
from tux.utils.converters import CaseTypeConverter, TimeConverter, convert_bool

# TODO: Figure out how to use boolean flags with empty values


def is_optional_param(param: commands.Parameter) -> bool:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions