Skip to content

Allow .ts files to be found in DEFAULT_FILTER option #65

Description

@MatthieuLepers

Hello ! I'm making a discord bot using discord.js-commando and i migrate my bot to a typescript project

I figure out an issue with require-all@3.0.0 that is used by discord.js-commando@latest doesn't allow .ts files to be found by default

Maybe you should change the DEFAULT_FILTER regex from /^([^\.].*)\.js(on)?$/ to /^([^\.].*)\.(?:j|t)s(on)?$/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions