/discord_steno_bot

Turn raw steno into pretty graphics with this Discord bot

Primary LanguageJavaScript

Steno Bot

This Discord bot reads in messages written in RAW STENO and tries to display them graphically. E.g.:

  • RAU STOINRAU/STOEUPB (normalization) → to image on node-canvas and uploaded to channel

Screenshot demonstrating usage

Each steno layout picture seems to be about 3KB.

Development

  1. Clone
  2. npm install
  3. Create token.json, contents: { "token": "DISCORD_TOKEN" }
  4. npm start to run bot.
  5. npm run dev to run bot with restart on files changed.
  6. npm run test to execute tests.

Steno Bot Says…

Thanks for adding me to your server. I'm created by Ted over at https://github.com/morinted/discord_steno_bot

To summon me, you need raw or pseudo steno in ALL CAPS in between back ticks: `HI`

Outside of the #learners channel, messages should be prefixed with !, for example: !`HI`

I can accept multiple separate strokes in one message: "My stroke for cat isn't `KAT` but rather `CAT`"

Within a single pair of back ticks you can give multiple strokes separated by slashes or spaces: `HEL/LO WORLD`

I accept some special short forms: -SH-RB, -CH-FP, -SHN, as well as with vowel repetition: AAAEU, IIAOEU