Add Bulbapedia

It has Special:Random, so it's definitely going to work with this, right???
This commit is contained in:
Steve McCoy 2019-01-19 10:42:43 -05:00 committed by GitHub
parent 13c6897a0a
commit ce82fc9243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ func (p *NerdepediaPlugin) Message(message msg.Message) bool {
query = "http://dune.wikia.com/wiki/Special:Random" query = "http://dune.wikia.com/wiki/Special:Random"
} else if lowerCase == "my precious" || lowerCase == "one ring to rule them all" || lowerCase == "one does not simply walk into mordor" { } else if lowerCase == "my precious" || lowerCase == "one ring to rule them all" || lowerCase == "one does not simply walk into mordor" {
query = "http://lotr.wikia.com/wiki/Special:Random" query = "http://lotr.wikia.com/wiki/Special:Random"
} else if lowerCase == "gotta catch em all" {
query = "https://bulbapedia.bulbagarden.net/wiki/Special:Random"
} }
if query != "" { if query != "" {