-

Local Development & Testing#

+

Local Development & Testing¶

To test your features locally, there are a few possible approaches:

  1. Install your local copy of pydis_core into a pre-existing project such as bot

  2. @@ -391,7 +391,7 @@ This might mean adding new commands, modifying existing ones, changing utilities The steps below should provide most of the groundwork you need, but the exact requirements will vary by the feature you’re working on.

    -

    Option 1#

    +

    Option 1¶

    1. Navigate to the project you want to install bot-core in, such as bot or sir-lancebot

    2. Run pip install /path/to/pydis_core in the project’s environment

      @@ -407,7 +407,7 @@ To load new changes, run the install command again.

    -

    Option 2#

    +

    Option 2¶

    1. Copy the bot template folder to the root of the bot-core project. This copy is going to be git-ignored, so you’re free to modify it however you like.

    2. @@ -507,7 +507,7 @@ to help you test out certain features. Use them as needed.

      - + -- cgit v1.2.3