Skip to content

A simple, lightweight tool used for documemting your discord.py commands

Notifications You must be signed in to change notification settings

ChiliMX/dpy-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dpy-Docs

A simple, lightweight tool used for documemting your discord.py commands

Usage:

import discord
from discord.ext import commands

from dpy_docs import DocGen

bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
docs = DocGen(bot)


@docs.document_code()
@bot.command()
async def foo(ctx: commands.Context) -> None:
    """This is an example command"""
    return 


bot.run(TOKEN)

Note: You must add @docs.generate_docs() before @bot.command(). This is due to the current code logic, and might be changed in the future.

About

A simple, lightweight tool used for documemting your discord.py commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages