freiheit / discord_feedbot

Moved to https://gitlab.com/ffreiheit/discord_feedbot
MIT License
82 stars 28 forks source link

Add call functions that can customize a RSS feed URL #17

Closed ConnorParrish closed 8 years ago

ConnorParrish commented 8 years ago

I'm curious if/how this could be implemented in what you have given us. You could consider it an enhancement I suppose.

For example, a user types "~track (insert string here)" and have it append that string to the end of the URL.

freiheit commented 8 years ago

Right now, this bot doesn't hook into anything that watches for messages. I think it should be possible to use as a library in another bot, and have that BOT modify the CONFIG variables... Not sure how best to handle that right now... Wouldn't be too hard to have it read from CONFIG consistently instead of saving anything persistent in local variables, though...

ConnorParrish commented 8 years ago

I actually got it working! Thanks for the framework!

freiheit commented 8 years ago

Cool!

Any chance you could write up some documentation on what you did, to include in this project, to help others do it in the future?