Coder Social home page Coder Social logo

semi_bot's Introduction

Twitter_HQ_1500x500-2

๐Ÿฆน๐Ÿผโ€โ™€๏ธ SemiBot

A simple Discord Bot which will, among other things, download and display artwork for any given SemiSuper from SemiSupers.

๐Ÿค– Commands

  • !gm - Semi GM!
  • !gn - Semi GN!
  • !semi- Semi with traits and rarites
  • !pfp - Original artwork
  • !tpfp - Original artwork on transparent background
  • !head - Just the SemiSuper's head
  • !thead - Just the SemiSuper's head on transparent background
  • !say - Create catchprases for your SemiSuper
  • !vs - Pitch SemiSupers into battle
  • !vsg - Animated battles

๐Ÿ“ธ Examples

5295-gm 2347-gn 5340-head271-head 1984-catchphrase 5340-vs

๐Ÿ–ฅ CLI

You can use this as a stand-alone tool for downloading and generating artwork; Either supply a list of token IDs as arguments, or run --all to generate everything.

For example $ python3 semi.py 50 will download and generate the artwork for SemiSuper numer 50, aka. Villain #50.

๐Ÿ“ก REST API

You can run this as a web server providing a RESTful API with the same functionality as the bot itself, just run $ python3 semi_api.py.

Onece running, the exposed endpoints are:

  • http://127.0.0.1:5000/semi?tokenId=123
  • http://127.0.0.1:5000/pfp?tokenId=123
  • http://127.0.0.1:5000/pfpc?tokenId=123&traits=head,torso,background
  • http://127.0.0.1:5000/tpfp?tokenId=123
  • http://127.0.0.1:5000/head?tokenId=123
  • http://127.0.0.1:5000/thead?tokenId=123
  • http://127.0.0.1:5000/gm?tokenId=123
  • http://127.0.0.1:5000/gn?tokenId=123
  • http://127.0.0.1:5000/say?tokenId=123&quote=Semi%20hilaroius%20catchphrase
  • http://127.0.0.1:5000/vs?tokenId=123&tokenId2=321
  • http://127.0.0.1:5000/vsg?tokenId=123

semi_bot's People

Contributors

sspzz avatar

Watchers

 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.