hb-add .. [handle_hubbubadd]
description: | arguments: <feedname> <url> - add a hubbub item (name/url combo). |
permissions: | USER |
code: | hb-add command. |
examples: | |
<user> ;hb-add fbf https://github.com/feedbackflow/fbfbot/commits/master.atom
<output> credentials.py is needed in docs/docrun/config dir. see docs/docrun/examples
hb-addchannel .. [handle_hubbubaddchannel]
description: | arguments: <feedname> [<botname>] [<bottype>] <channel> - add a channel to hubbub feed. |
permissions: | OPER |
code: | hb-addchannel command. |
examples: | |
<user> ;hb-addchannel gozerbot #dunkbots
<output> we don't have a gozerbot hubbub object
<user> ;hb-addchannel gozerbot main #dunkbots
<output> we don't have a gozerbot hubbub object
hb-additem .. [handle_hubbubadditem]
description: | arguments: <feedname> <token> - add an item (token) to a feeds itemslist, this list is used to determine what to display. |
permissions: | GUEST .. USER |
code: | hb-additem command. |
examples: | |
<user> ;hb-additem gozerbot link
<output> we don't have a gozerbot feed
hb-addmarkup .. [handle_hubbubaddmarkup]
description: | arguments: <feedname> <item> <value> - add a markup to a feeds markuplist, this list determines how we display things. |
permissions: | GUEST .. USER |
code: | hb-addmarkup command. |
examples: | |
<user> ;hb-addmarkup gozerbot all-lines 1
<output> we don't have a gozerbot feed
hb-channels .. [handle_hubbubchannels]
description: | arguments: <feedname> - show channels of hubbub feed. |
permissions: | OPER |
code: | hb-channels command. |
examples: | |
<user> ;hb-channels gozerbot
<output> we don't have a gozerbot hubbub object
hb-delchannel .. [handle_hubbubdelchannel]
description: | arguments: <feedname> [<botname>] [<bottype>] [<channel>] - delete channel from hubbub feed. |
hb-delitem .. [handle_hubbubdelitem]
description: | arguments: <feedname> <token> - delete item (token) from a feeds itemlist. |
permissions: | GUEST .. USER |
code: | hb-delitem command. |
examples: | |
<user> ;hb-delitem gozerbot link
<output> we don't have a gozerbot feed
hb-delmarkup .. [handle_hubbubdelmarkup]
description: | arguments: <feedname> <item> - delete markup item from a feed’s markuplist. |
permissions: | GUEST .. USER |
code: | hb-delmarkup command. |
examples: | |
<user> ;hb-delmarkup gozerbot all-lines
<output> we don't have a gozerbot feed
hb-feeds .. [handle_hubbubfeeds]
description: | arguments: [<channel>] - show what feeds are running in a channel. |
permissions: | USER .. GUEST |
code: | hb-feeds command. |
examples: | |
<user> ;hb-feeds
<output> no feeds running
<user> ;hb-feeds #dunkbots
<output> no feeds running
hb-get .. [handle_hubbubget]
description: | arguments: <feedname> - fetch feed data. |
permissions: | HUBBUB .. USER |
code: | hb-get command. |
examples: | |
<user> ;hb-get gozerbot
<output> we don't have a gozerbot item
hb-itemslist .. [handle_hubbubitemslist]
description: | arguments: <feedname> - show itemslist (tokens) of hubbub item. |
permissions: | GUEST .. USER |
code: | hb-itemslist command. |
examples: | |
<user> ;hb-itemslist gozerbot
<output> we don't have a gozerbot feed
hb-list .. [handle_hubbublist]
description: | no arguments - return list of available feeds. |
permissions: | GUEST .. USER |
code: | hb-list command. |
examples: | |
<user> ;hb-list
<output> no hubbub items yet
hb-markup .. [handle_hubbubmarkup]
description: | arguments: <feedname> - show the markup of a feed (channel specific). |
permissions: | GUEST .. USER |
code: | hb-markup command. |
examples: | |
<user> ;hb-markup gozerbot
<output> we don't have a gozerbot feed
hb-markuplist .. [handle_hubbubmarkuplist]
description: | no arguments - show possible markups that can be used. |
permissions: | USER .. GUEST |
code: | hb-markuplist command. |
examples: | |
<user> ;hb-markuplist
<output> possible markups ==> all-lines: set this to 1 if you don't want items to be aggregated, reverse-order: set this to 1 if you want the items displayed with oldest item first, separator: set this to desired item separator, skipmerge: set this to 1 if you want to skip merge commits, tinyurl: set this to 1 when you want to use tinyurls
hb-register .. [handle_hubbubregister]
description: | arguments: <feedname> <url> - register a url and start the feed in one pass. |
permissions: | USER .. GUEST |
code: | hb-register command. |
hb-running .. [handle_hubbubrunning]
description: | no arguments - show which feeds are running. |
permissions: | HUBBUB .. USER |
code: | hb-running command. |
examples: | |
<user> ;hb-running
<output> nothing running yet
hb-scan .. [handle_hubbubscan]
description: | arguments: <feedname> - scan feed for available tokens. |
permissions: | USER .. GUEST |
code: | hb-scan command. |
examples: | |
<user> ;hb-scan gozerbot
<output> no gozerbot feeds available
hb-setitems .. [handle_hubbubsetitems]
description: | arguments: <feedname> <list of tokens> - set items (tokens) of a feed, see hb-scan for a list of possible tokens. |
permissions: | GUEST .. USER |
code: | hb-setitems command. |
examples: | |
<user> ;hb-setitems gozerbot author author link pubDate
<output> we don't have a gozerbot feed
hb-start .. [handle_hubbubstart]
description: | arguments: <list of feeds> - start sending feeds to an user or channel. |
permissions: | USER .. GUEST |
code: | hb-start command. |
examples: | |
<user> ;hb-start gozerbot
<output> sorry can't start: gozerbot
hb-stop .. [handle_hubbubstop]
description: | arguments: <list of feeds> - stop a hubbub feed to a user or channel. |
permissions: | USER .. GUEST |
code: | hb-stop command. |
examples: | |
<user> ;hb-stop gozerbot
<output> failed to stop ['gozerbot'] feed
<output> done - hb-stop
hb-stopall .. [handle_hubbubstopall]
description: | no arguments - stop all hubbub feeds to a channel. |
permissions: | HUBBUB .. OPER |
code: | hb-stopall command. |
examples: | |
<user> ;hb-stopall
<output> no feeds running in #test
hb-stopwatch .. [handle_hubbubstopwatch]
description: | arguments: <feedname> - stop watching a feed. |
permissions: | OPER |
code: | hb-stopwatch command. |
examples: | |
<user> ;hb-stopwatch gozerbot
<output> there is no gozerbot item
hb-subscribe .. [handle_hubbubsubscribe]
description: | arguments: <feedname> [<url>] - subscribe to a hubbub feed, provide a url if the feed is not yet registered. |
permissions: | USER |
code: | hb-subscribe command. |
examples: | |
<user> ;hb-subscribe fbf https://github.com/feedbackflow/fbfbot/commits/master.atom
<output> fbf feed is not yet added .. see hb-add
<output> https://github.com/feedbackflow/fbfbot/commits/master.atom feed is not yet added .. see hb-add
hb-url .. [handle_hubbuburl]
description: | arguments: <feedname> - return url of feed. |
permissions: | OPER |
code: | hb-url command. |
examples: | |
<user> ;hb-url gozerbot
<output> you are not the owner of the gozerbot feed
hb-watch .. [handle_hubbubwatch]
description: | arguments: <feedname> - enable a feed for watching (per channel). |
permissions: | USER |
code: | hb-watch command. |
examples: | |
<user> ;hb-watch gozerbot
<output> we don't have a gozerbot hubbub item