Merge pull request #1 from mccoyst/gotta-catch-em-all

Add Bulbapedia
This commit is contained in:
Steve McCoy 2019-01-19 10:43:20 -05:00 committed by GitHub
commit 899060b2a0
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 != "" {