Skip to content

juanalonso/ypirqui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ypirquí

A Slack bot that sometimes ridicules you

Jennifer Ypirquí in action

Ypirquí (full name: Jennifer Ypirquí) is a Node.js based Slack bot. It uses the great SlackBots.js library by Mikhail Mokrushin.

What does Jennifer Ypirquí do?

Jennifer is like a five year old child, ridiculing you, repeating what you write, replacing all the vowels with an i, a common form of mockery among kids in the Spanish language. You can also mention her (She will get back at the channel) or mention her and other users, and she will come back at them. Also, Jennifer interacts with emojis in her own peculiar way.

If you want some peace, you can mute her in a specific channel for config.bot_mute_time seconds by sending exactly @ypirqui calla to the channel.

Installation

  1. Create a new bot integration in Slack.
  • Name it ypirqui and write down the API Token, it will be needed later.
  • For the bot avatar, we recommend using the "Uy, pues perdón" meme girl.

Uy, pues perdon

  1. Download the code from GitHub and uncompress it.
  2. Open the folder and run npm install in it, to install all the dependencies.
  3. Edit config.js and add your API Token (step one) to the line config.slack_token = "";
  4. Run node lib/ypirqui.js
  5. Make sure you are on the corresponding Slack channel or invite her to it.
  6. Enjoy

Additional configuration

You can edit config.js to tune a bit Ypirquí's behaviour:

  • config.bot_random: controls the probability of Ypirquí's responses. Should be a number between 0 (never responds) and 1 (always responds - not recommended). A value around 0.10-0.15 is a good starting point.
  • config.bot_min_string_length: If an user writes a string shorter than this value, Ypirquí will ignore it.
  • config.bot_mute_time: The time in seconds Ypirquí will be silent when you ask her to shut up.

About

A slack bot that sometimes ridicules you

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published