Giter Site home page Giter Site logo

lanette's Introduction

Lanette

Build Status

A bot for Pokemon Showdown written in TypeScript.

Caution!

Lanette is still in the alpha phase of development so it is not yet recommended for daily use. If you do choose to use or experiment with it, please be aware that breaking changes will currently occur without warning and may require manual moving or renaming of config settings and/or data stored in database files.

Installation

Lanette requires Node.js version 20.9.0 or later and a command line (e.g. Powershell on Windows or Terminal on Mac OS/Linux) to run. Once you have compatible software, complete installation by following these steps:

Obtain a copy of Lanette

If you plan to make changes outside of the config file, you should create a fork. Make sure you are on the main repository and click "Fork" in the top right to create it. Then, either on your fork or the main repository if you don't plan to make changes, click the "Clone or download" button. In the popup, click either "Open in Desktop" if you're using the GitHub Desktop program or run the following command if you're using Git:

git clone [fork or main repository URL].git

Navigate to the root directory

The remaining steps will take place in the root directory of your Lanette files. Navigate there with the command:

cd DIRECTORY

Replace DIRECTORY with the filepath to your cloned directory (e.g. C:\Users\sirDonovan\Documents\GitHub\Lanette).

Install dependencies

Run the following command to install required dependencies:

npm install --production

If you plan to contribute to development, run the command without the --production flag to also install dependencies used for testing.

Set up the config file

Copy and paste the config-example.ts file in the src folder, rename it to config.ts, and open it in your text editor to enter your desired information.

Start the bot

From this point on, you can start the bot by running the following command:

node app.js

Development

Issues are welcomed but please hold off on pull requests until Lanette enters the beta phase! When submitting a pull request, be sure that you have installed development dependencies and ran npm test to check for errors in your code.

If possible, it is best to use Visual Studio Code as your text editor when working on Lanette.

Credits

License

Lanette is distributed under the terms of the MIT License.

lanette's People

Contributors

sirdonovan avatar frixel avatar dot-comfey avatar zardmx avatar dirain1700 avatar emboar02 avatar ps-theaura avatar krisxv avatar ps-frozoid avatar warriorgallade avatar isenseaura avatar feluciaps avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.