Git Product home page Git Product logo

leap-discord's Introduction

LeapML Discord Bot

Hi! I'm Aleem -- this is a lil project for the Leap hackathon. It's like the midjourney bot, but since we use Leap it allows you to train your own models ๐Ÿช„

note: this is a WIP, so if you have any feedback feel free to toss me a message on twitter. still learning how to make bots, so there's a lot of room for improvement ๐Ÿ™‚

Untitled.1.mp4

Basic Setup

  1. Fork this repo & download it
  2. Head to the Discord Developer Portal and create a new application
  3. Go to the bot tab and add a bot, allow it to send messages, and copy the token
  4. Add the token to the .env file following the format in the .envExample file
  5. Check out LeapML to create an account, and copy the api key
  6. Add the api token to the .env file following the format in the .envExample file

Running the bot

  1. Run npm install to install the dependencies
  2. Go back to the Discord Developer Portal, go to the OAuth2 tab, then URL generator, and click the link to invite the bot to your server
  3. Run npm start to start the bot

Commands

  1. /train - Train a model
  2. /generate - Generate images
  3. /edit - Edit images (coming soon, waiting for api)

Links

leap-discord's People

Contributors

aleemrehmtulla 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.