discord embed visualization tool
Switch branches/tags
Nothing to show
Clone or download
Latest commit 66c857b Jan 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build rebuild Jan 5, 2018
public intial commit Feb 6, 2017
src fix message timestamp not updating every minute Jan 5, 2018
.gitignore intial commit Feb 6, 2017
LICENSE add license May 13, 2017
README.md intial commit Feb 6, 2017
package.json add color picker Jan 4, 2018

README.md

Embed Visualizer

demo gif

Code snippet generators

The general structure for them looks like this:

export default {
  // for displaying on the <select> dropdown
  name: 'Cool Discord Lib (Cool Programming Language)',

  // for highlight.js
  // see https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#language-names-and-aliases
  language: 'coolprogramminglanguage',

  // actual generator
  // data is just a javascript object that looks like this:
  // { "content": "message content...", "embed": { ... } }
  generateFrom(data) {
    ...
  },
};

Currently, we don't really take in account "webhook mode" since most libraries don't really support that directly. If in the future most of them end up supporting it, we can start passing that down to the generateFrom function, so that it can emit something else.