Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 971 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 971 Bytes

Auto-generate a sheriff emoji given a list of keywords. You can either provide a list of emoji aliases from the list here, or provide a word like `cat' which will return all emojis with an alias including that word.

Sadly, there is not yet support for the sheriff emoji, so I'm using a policeman instead.

Also, a joke will be provided by searching for a definition on Urban Dictionary. (Warning: may be explicit and/or not funny.)

Examples:

$ python sheriff.py dog


   👮
  🐶🐶🐶
 🐕 🐶 🐕
👇  🌭🌭 👇
  🌭  🌭
  🌭  🌭
  👢  👢  

Howdy, I'm the sheriff of dog. Not a [cat].
$ python sheriff.py :cactus: :heart:

   👮
  🌵🌵🌵
 🌵 🌵 🌵
👇  ❤❤ 👇
  ❤  ❤
  ❤  ❤
  👢  👢  
Howdy, I'm the sheriff of cactus. Dead, not functioning.

Install requirements:

pip install emoji
pip install urbandictionary