From 96c204e077eec839284ea7972b68d63f2c48f3b9 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 25 Jul 2016 14:41:21 +0200 Subject: [PATCH] ~woof added, thanks @Fiasc0 , #448 --- NadekoBot/Modules/Searches/SearchesModule.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NadekoBot/Modules/Searches/SearchesModule.cs b/NadekoBot/Modules/Searches/SearchesModule.cs index 1a2ed20b..f0062777 100644 --- a/NadekoBot/Modules/Searches/SearchesModule.cs +++ b/NadekoBot/Modules/Searches/SearchesModule.cs @@ -157,6 +157,14 @@ $@"🌍 **Weather for** 【{obj["target"]}】 .ConfigureAwait(false); }); + cgb.CreateCommand(Prefix + "randomdog") + .Alias(Prefix + "woof") + .Description("Shows a random dog image.") + .Do(async e => + { + await e.Channel.SendMessage("http://random.dog/" + await SearchHelper.GetResponseStringAsync("http://random.dog/woof").ConfigureAwait(false)).ConfigureAwait(false); + }); + cgb.CreateCommand(Prefix + "i") .Description("Pulls the first image found using a search parameter. Use ~ir for different results. | ~i cute kitten") .Parameter("query", ParameterType.Unparsed)