Steve-V / tgg-BotSteve

Issue tracking and source hosting for the TGG BotSteve module
11 stars 10 forks source link

Add bitly.data template so others can use it #143

Open Steve-V opened 12 years ago

Steve-V commented 12 years ago

Currently bitly.data is an untracked file. Add a template so that others can use it as needed.

AstraLuma commented 12 years ago

What's in this file? Can it be merged into the config?

Steve-V commented 12 years ago

bitly.data is the result of the following commands:

F = shelve.open("bitly.data")
F['name'] = "BITLY_USER_NAME"
F['api_key'] = "BITLY_API_KEY"
F.close()

where BITLY_USER_NAME and BITLY_API_KEY are my username and api key, respectively.

I tried to merge it into the config, but the modules in rss.py don't have access to the config file unless you pass the input argument to the function, and the rss alerter has no input.