RiccardoBarb / Kekbot

A Twitch Bot that converts emotes into braille directly from chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kekbot

Kekbot is a silly bot 🤖 for Twitch chat. It converts Twitch and BTTV emotes, or pictures from an url into braille art. For now you can meet Kekbot on @Damidema stream and redeem a braille art with 100 channel points. Kebot also likes memes and it can produce AI generated copypastas. They are rarely meaningful, but sometimes funny 😆.

How braille emotes work

Kekbot knows the most common Twitch and BTTV emotes. It can access to the emote if you use the !kekthis or the !kekthat command followed by the emote name (emote names are case sensitive!). With this method you can spam the braille version of more than 8000 different emotes! However not all of the emotes are available (for now).
Channel-specific emotes like damide1Hi are potentially availabl, but they need to be added to Kekbot database (see !kekmore). You can even directly use the url of a specific picture with !kekthis or !kekthat. In this way you can literally transform any picture into braille, PogChamp!

  • N.B.1: The emote names are case sensitive! !kekthis poggers will return an error, but !kekthis POGGERS will work.
  • N.B.2: Some of the picture-to-braille transformations sucks (have you tried with BibleThump?).

Examples

Command Result
!kekthis KappaHD (valid for all the BTTV emotes and Global Twitch emotes)

!kekthis https://static-cdn.jtvnw.net/emoticons/v2/115847/default/light/2.0 (valid for Twitch channel-specific emotes, or literally any other picture)
Kappa
!kekthat KappaHD (valid for all the BTTV emotes and Global Twitch emotes)

!kekthat https://static-cdn.jtvnw.net/emoticons/v2/115847/default/light/2.0 (valid for Twitch channel-specific emotes, or literally any other picture)
Kappa_neg

How AI generated copypastas work

Kekbot can generate more than 2000 unique "fake" copypastas. This experimental feature is based on the open source project textgenrnn which allows to train a Recurrent Neural Network on a specific dataset and generate texts that mimics the learned style. The dataset was scraped from the "Popular" section of Twitch Quotes. To spam one of the "fake" copypastas in chat just type !kekpasta.

More details on the RNN architechture trained on the copypastas coming soon

Commands

  • !kekthis + emote name (case sensitive!) or image url: it converts the pixels with high luminance into braille characters and types the result in chat.
  • !kekthat + emote name (case sensitive!) or image url: it works like !kekthis but only pixels with low luminance will be converted into braille.
  • !kekmore + twitch channel name. This command add the emotes of a specific channel to the emote database. The command works only if the stream on the selected channel is currently online. But once downloaded, the emotes will be permanently stored.
  • !kekwho: Kekbot describes itself and encourage the use of !kekhow
  • !kekhow: Kekbot returns channel-specific messages.
  • !kekpasta: Kekbot spam an AI generated copypasta

About

A Twitch Bot that converts emotes into braille directly from chat


Languages

Language:Python 100.0%