https://github.com/makefu/reaktor-titlebot
Commands and config for the Binärgewitter Titlebot
https://github.com/makefu/reaktor-titlebot
Last synced: 10 months ago
JSON representation
Commands and config for the Binärgewitter Titlebot
- Host: GitHub
- URL: https://github.com/makefu/reaktor-titlebot
- Owner: makefu
- Created: 2015-09-18T13:25:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T19:15:13.000Z (almost 11 years ago)
- Last Synced: 2025-08-18T18:02:35.683Z (10 months ago)
- Language: Python
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reaktor-titlebot
Commands and config for the Binaergewitter Titlebot
# Usage
$ export TITLEDB='/tmp/aids.json'
$ export _from=bobob
$ export _prefix=bob@bob.com
$ help
BGT Title Poll Bot:
.new TITLE - suggest a new title
.list <(age|votes)> - list all suggestions
.highest - lists the NUM highest voted suggestions
.top - alias for .highest
.up NUM (NUM ...) - upvote one or more suggestions from .list
.undo NUM (NUM ...) - undo an upvote
.clear - clear the poll (auth required)
$ new 'aids balls'
Thank you for your suggestion 'bobob'!
To vote type '.up 0'
$ top
1st: 'aids balls' (0 votes)
up 0
$ up 0
bobob voted for 'aids balls'
$ new 'herp-derp'
$ top 3
1st: 'aids balls' (1 votes)
2nd: 'herp-derp' (0 votes)
$ list
#0 aids balls (votes: 1)
#1 herp-derp (votes: 0)