subtlecoolness/wormgas — pull request #7 by RodrigoTjader (2012-07-22 02:59:11+00:00)
Title: Station guessing

This hopefully makes wormgas use the station the user is tuned into when someone uses a command without specifying a station. The idea is that you can just say !np or !pp and it will print the song you are/were listening to.

However, as this requires database access, I had no way of testing it and coded blindly. I mostly copied a few lines from !ustats and used them in the other handlers. In hindsight, for better maintainability, it might be better to put that in a function and use that function instead.