Param#

File that stores the Param for type hints

@bot.command(...)
def name(ctx, pass_obj: Param(
    desc="something to pass",
    required=False,
    default="lol"
)):
    ctx.reply(pass_obj)
class replit_bot.param.DumbClass#

Bases: object

class replit_bot.param.Param(desc: str = '', required: bool = None, default: ~typing.Any = None, type_cast: ~typing.Any = <replit_bot.param.DumbClass object>, detect_type: bool = False)#

Bases: object

Similar to discord.py’s param type hinting for commands