Skip to content

pralums/narrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2b56ff4 · Sep 28, 2022

History

35 Commits
Sep 17, 2022
Sep 10, 2022
Sep 16, 2022
Sep 18, 2022
Sep 28, 2022
Sep 16, 2022
Aug 22, 2022
Sep 10, 2022
Sep 11, 2022

Repository files navigation

Narrator

Narrator is a karma bot we use for our Slack workspace. Narrator is book/reading themed because we're all huge lit nerds.

I built Narrator using Slack's Bolt for Python. Narrator stores karma entries in a pyMongo database.

Narrator functionality

Command Description
<item> ++, <item>++ Adds karma to an item. You can use @ notation for a user. If you want to add karma to a phrase, encapsulate the phrase in parentheses. For example, (Everyone in this channel)++.
<item> --, <item>-- Removes karma from an item. You can use @ notation for a user. If you want to remove karma from a phrase, encapsulate the phrase in parentheses. For example, (Entire python ecosystem)--.
!karma <item> Prints the karma for an item if it's found in the karma database.
!best Prints a list of the top 5 karma entries.
!worst Prints a list of the bottom 5 karam entries.
!list This command returns a list of all karma entries to the console. It's mostly used for debugging and doesn't print anything to the Slack channel.

About

A bot for the Puppet Reader Alums Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published