A pmxbot glossary extension.
Project description
# pmxbot-glossary
Glossary extension for [pmxbot](https://bitbucket.org/yougov/pmxbot/wiki/Home).
[![Build Status](https://travis-ci.org/harveyr/pmxbot-glossary.svg?branch=master)](https://travis-ci.org/harveyr/pmxbot-glossary)
## Commands
Get a definition
!whatis carrot
Add a definition
!set carrot: An orange rod
Update a definition
Same as adding one:
!set carrot: An orange vegetable. For more, see http://en.wikipedia.org/wiki/Carrot
This creates a new definition without overwriting the old one.
Get an older definition
!whatis carrot: 1
This returns the first definition. !whatis carrot: 2 would return the second, and so on.
Get a random definition
!whatis
Redirect an entry to another
redirect burger: hamburger
Remove a redirect
unredirect burger
Find out who wrote something
!whowrote hamburger
## Why?
This extension is an effort to test the following hypothesis:
Maintaining definitions of domain lingo via a chat bot is the best way to keep those definitions up to date and readily accessible (assuming the group uses some form of internet chat).
This may be the case because:
It allows painless updating of the definitions (no pull requests, etc.).
It allows painless retrieval of the definitions.
It provides a single entry point to docs that are spread among a number of sources (assuming you provide links).
It enables somewhat automatic review of definitions as they are added or retrieved.
It creates “accidental” education: you’ll learn stuff just sitting in a channel and seeing the definitions scroll by.
It keeps the definitions in front of the eyes of the domain experts, maximizing the chances they will spot an obsolete, misguided, or missing entry.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pmxbot-glossary-0.4.2.tar.gz
.
File metadata
- Download URL: pmxbot-glossary-0.4.2.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c31dbd4a3a9ad187ad2c9d239bd686ca011b14167f4f65142be99c95d3af89 |
|
MD5 | 44d50a7080202748f5da470b73bc29a7 |
|
BLAKE2b-256 | c8597daa1ccfcab4fa0c3833c8cd713e23aad0cb98086748a4c6b49b39763a41 |
File details
Details for the file pmxbot_glossary-0.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pmxbot_glossary-0.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb39db75e729b0fa7df672d3285d16073bc16c3013374ca5802ac5d5b6609542 |
|
MD5 | cfac1763e9b704a1a1ada0b339bdd67b |
|
BLAKE2b-256 | eef65532c16e40bb7658a683094b78cfe4169c3e1ea66dd85c8536de4d91044a |