Implement a !rq similar to how Limnoria does it
NetSysFire opened this issue · comments
@examknow specifically asked me on IRC to report this one. "!rq" stands for random quote in Limnoria.
Steps to reproduce
- Be in a fun channel.
- Try to make the bot emit a random quote that was grabbed in this channel.
,quote
on its own requires an argument and,quote <#channel>
will return[Quotes] No matching quotes
- Be sad.
Expected behavior
,quote
on its own would emit a random quote grabbed in this channel or namespace.
Make the latter one configurable perhaps. In e.g a fictional ontopic "#linux" channel, you'd want a random quote to only consist of ones grabbed in that channel, not the potentially inappropriate ones from e.g the offtopic channel. "#linux-offtopic" however would be just fine with any public quotes from the entire #linux-* namespace.
I think we should limit random quotes to inside a single channel context. If nothing else, this will avoid accidental exposure of private data to public channels.
Perhaps the channel-quotes
settings should also be defaulted to on for the same reason
cc @jesopo - thoughts on this?