From 81d636bb862ac7988dfe1fb5cad5f7e0539b4006 Mon Sep 17 00:00:00 2001 From: skkiesel Date: Sat, 19 Jan 2019 08:45:14 -0500 Subject: [PATCH] Kids gonna like dune --- plugins/nerdepedia/nerdepedia.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/nerdepedia/nerdepedia.go b/plugins/nerdepedia/nerdepedia.go index ecf5bf9..229569a 100644 --- a/plugins/nerdepedia/nerdepedia.go +++ b/plugins/nerdepedia/nerdepedia.go @@ -44,6 +44,8 @@ func (p *NerdepediaPlugin) Message(message msg.Message) bool { query = "http://starwars.wikia.com/wiki/Special:Random" } else if lowerCase == "beam me up scotty" || lowerCase == "live long and prosper" { query = "http://memory-alpha.wikia.com/wiki/Special:Random" + } else if lowerCase == "bless the maker" || lowerCase == "i must not fear" { + query = "http://dune.wikia.com/wiki/Special:Random" } if query != "" { @@ -82,7 +84,7 @@ func (p *NerdepediaPlugin) Message(message msg.Message) bool { // Help responds to help requests. Every plugin must implement a help function. func (p *NerdepediaPlugin) Help(channel string, parts []string) { - p.bot.SendMessage(channel, "star wars/trek stuff") + p.bot.SendMessage(channel, "nerd stuff") } // Empty event handler because this plugin does not do anything on event recv