zigdon / xkcd-Bucket

Bucket is the channel bot for #xkcd
http://wiki.xkcd.com/irc/Bucket
121 stars 31 forks source link

Make maximum "literal" page configurable? #110

Open dgw opened 7 years ago

dgw commented 7 years ago

I noticed a while back that asking Bucket for e.g. literal[11] foo doesn't work as expected. Apparently the code doesn't allow pages past 10, a check added years ago in 17e13c5.

Was there a reason for that? It'd be simple enough to make it a setting, at least. And/or the (default) limit could even be reduced a bit, and unlimited pagination made available to ops only?

dgw commented 4 years ago

Config value to be added in #128. Have not yet decided whether ops should bypass the limit.