Code Monkey home page Code Monkey logo

flaps-chelton's Introduction

flaps-chelton

A very, very, VERY over-engineered Discord bot built with JavaScript, then rebuilt with TypeScript.

Features:

  • Many FFmpeg-based commands
  • Many Canvas-based commands
  • !stablediffusion command
  • Web interface
  • So, so much more.

.env instructions:

  • DISCORD_TOKEN is your Discord bot token.
  • OPENAI_TOKEN is an OpenAI API key.
  • OPENAI_ENABLED is whether or not to enable OpenAI features. Can be either yes or no.
  • WEB3D_HEADLESS is whether or not to run 3D commands without a window. Can be either yes or no.
  • FFMPEG_VERBOSE is whether or not to log FFmpeg command output. Can be either yes or no.
  • WEB_PORT is the port to run the webserver on.
  • OWNER_TOKEN is the bot owner's Discord User ID.
  • MAIN_CHANNEL is the Discord Channel ID for the channel to send occasional messages.
  • MAIN_GUILD is the Discord Guild ID for the guild containing the main channel.
  • MIDNIGHT_START_MESSAGE is the message to send at midnight.
  • MIDNIGHT_GOOD_MESSAGE is the message to send at 1 minute past midnight when all users have responded.
  • MIDNIGHT_BAD_MESSAGE is the message to send at 1 minute past midnight when some users have not responded.
  • COUNTDOWN_END_DATE is an ISO-8601 date string for when !countdown should count down to.
  • PLAYGROUND_COOKIE is your Cookie header from Playground AI generation requests.
  • COMMAND_PREFIX is the prefix sent before commands.
  • WEBHOOK_PREFIX is the prefix sent before webhook messages.
  • MAX_PERMA_IMAGE_SIZE is the maximum size (X and Y) of an image uploaded through !imgurl.
  • VERBOSE is a general verbosity option. Can be either yes or no.
  • DOMAIN is the public-facing domain/IP of your instance.
  • ENABLE_TRACK is whether or not to log all messages to a track file. Can be either yes or no.
  • TRACK_KEYWORDS is a comma-separated list of keywords to mark messages containing for the track file. See default value for more details.
  • TRACK_SERVER_REPORTS is a comma-separated list of GuildID:ChannelIDs to send the day's track file to at midnight.
  • DEPTHMAP_SERVER_PORT is the port for a server that turns images into depth maps, at the path /depth. Works best with MiDaS.
  • FLAPS_FFMPEG_SERVER_HEALTH_HOST is the HTTP address for an instance of konalt/flaps-ffmpeg-server.
  • FLAPS_FFMPEG_SERVER_HEALTH_HOST is the WebSocket address for an instance of konalt/flaps-ffmpeg-server.

Feel free to open an issue if you need anything!

flaps-chelton's People

Contributors

konalt avatar

Stargazers

Cesar del Angel avatar JinmingYang 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.