Worldbuilding / kaztron

A custom Discord bot for various writing communities
http://worldbuilding.network/kaztron
Other
5 stars 8 forks source link

discord.py 1.x migration - help formatter #344

Open Laogeodritt opened 3 years ago

Laogeodritt commented 3 years ago

Note also runner.py setup (from 2.5.0), disabled during the core migration:


    # custom help formatters
    kaz_help_parser = CoreHelpParser({
        'name': config.core.get('name')
    })

    # create bot instance (+ some custom hacks)
    client = commands.Bot(
        command_prefix='.',
        formatter=DiscordHelpFormatter(kaz_help_parser, show_check_failure=True),
        description='This an automated bot for the /r/worldbuilding discord server',
        pm_help=True)
    apply_patches(client)
Laogeodritt commented 3 years ago

Consider adding manual links to help outputs, as well as a manual command outright.