Skip to content

Parse option descriptions from docstrings #23

@Bluenix2

Description

@Bluenix2

Summary

As yet another API to interactions, the library could parse the docstring for description for each option. Because of its simplicity this could be done using regex, similar to how Nextcord has implemented this.

Refer to the specification for Numpydoc, Sphinx documentation and this Google docstrings example.

The code for this would be placed inside of _process_callback() together with the existing parsing of docstrings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📁 - Planning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions