GithubHelp home page GithubHelp logo

leucas's Introduction

leucas

Leucas project card

A CLI that uses Discord's webhooks to post as a bot account, in order to simulate these Discord sketches.

image

You could probably set up a uBlock Origin rule to hide the "BOT" symbol, or you could just live with it.

The name comes from Delphinapterus leucas, the beluga whale.

Because... beluga

beluga profile picture

Built in Swift. Because I need to learn how to code without GitHub Copilot.

Installation

macOS ONLY (i think. linux users feel free to try out but i'm sorry if it doesn't work)

Download the binary from the Releases tab, and put it into a folder that's on your $PATH.

/usr/local/bin is pretty popular.

Verify it's installed by running leucas --version

If you wish, generate completions with leucas --generate-completion-script, and follow your shell's installation procedures for completions.

Usage

  1. Make a JSON file. Example: image

    Structure is as follows.

    {
      "characters": Character[],
      "messages": Message[]
    }

    Character

    {
      "api": string, // Discord webhook link
      "name": string,
      "profile": string? // optional, url to profile picture
    }

    Messages

    {
      "sender": int, // Index of the character in `characters`
      "message": string
    }
  2. leucas --file path/to/script.json

    Messages are sent every second.

leucas's People

Contributors

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