commit
f8be61690d
32
NadekoBot/Modules/Searches/Commands/WowJokes.cs
Normal file
32
NadekoBot/Modules/Searches/Commands/WowJokes.cs
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
using NadekoBot.Classes;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using Discord.Commands;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace NadekoBot.Modules.Searches.Commands
|
||||||
|
{
|
||||||
|
class WowJokes : DiscordCommand
|
||||||
|
{
|
||||||
|
public WowJokes(DiscordModule module) : base(module)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
internal override void Init(CommandGroupBuilder cgb)
|
||||||
|
{
|
||||||
|
List<WowJokes> Jokes = new List<WowJokes>();
|
||||||
|
|
||||||
|
cgb.CreateCommand(Module.Prefix + "wowjoke")
|
||||||
|
.Description("Get one of Kwoth's penultimate WoW jokes.")
|
||||||
|
.Do(async e =>
|
||||||
|
{
|
||||||
|
if (!Jokes.Any())
|
||||||
|
{
|
||||||
|
Jokes = JsonConvert.DeserializeObject<List<WowJokes>>("data/wowjokes.json");
|
||||||
|
}
|
||||||
|
await e.Channel.SendMessage(Jokes[new Random().Next(0, Jokes.Count)].ToString());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -27,6 +27,7 @@ namespace NadekoBot.Modules.Searches
|
|||||||
commands.Add(new StreamNotifications(this));
|
commands.Add(new StreamNotifications(this));
|
||||||
commands.Add(new ConverterCommand(this));
|
commands.Add(new ConverterCommand(this));
|
||||||
commands.Add(new RedditCommand(this));
|
commands.Add(new RedditCommand(this));
|
||||||
|
commands.Add(new WowJokes(this));
|
||||||
rng = new Random();
|
rng = new Random();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,6 +133,7 @@
|
|||||||
<Compile Include="Classes\IncidentsHandler.cs" />
|
<Compile Include="Classes\IncidentsHandler.cs" />
|
||||||
<Compile Include="_Models\JSONModels\AnimeResult.cs" />
|
<Compile Include="_Models\JSONModels\AnimeResult.cs" />
|
||||||
<Compile Include="_Models\JSONModels\Configuration.cs" />
|
<Compile Include="_Models\JSONModels\Configuration.cs" />
|
||||||
|
<Compile Include="Modules\Searches\Commands\WowJokes.cs" />
|
||||||
<Compile Include="_Models\JSONModels\LocalizedStrings.cs" />
|
<Compile Include="_Models\JSONModels\LocalizedStrings.cs" />
|
||||||
<Compile Include="_Models\JSONModels\MagicItem.cs" />
|
<Compile Include="_Models\JSONModels\MagicItem.cs" />
|
||||||
<Compile Include="_Models\JSONModels\MangaResult.cs" />
|
<Compile Include="_Models\JSONModels\MangaResult.cs" />
|
||||||
@ -484,4 +485,4 @@
|
|||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -99,6 +99,16 @@ namespace NadekoBot.Classes.JSONModels
|
|||||||
public bool Missing { get; set; } = false;
|
public bool Missing { get; set; } = false;
|
||||||
public string FullUrl { get; set; }
|
public string FullUrl { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class WoWJoke
|
||||||
|
{
|
||||||
|
public string Question { get; set; }
|
||||||
|
public string Answer { get; set; }
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return $"**{Question}**\n\n{Answer}!";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//{
|
//{
|
||||||
|
302
NadekoBot/bin/Debug/data/wowjokes.json
Normal file
302
NadekoBot/bin/Debug/data/wowjokes.json
Normal file
@ -0,0 +1,302 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"Question": "What do you call a gnome priest",
|
||||||
|
"Answer": "A compact disc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why does the best raiding guild smell so bad?",
|
||||||
|
"Answer": "because they never wipe"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are boomkins neither overpowered or underpowered?",
|
||||||
|
"Answer": "Because they're Balanced"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Who is George of the Jungle's other brother?",
|
||||||
|
"Answer": "Mark of the Wild."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call a masturbating Tauren?",
|
||||||
|
"Answer": "Beef Stroganoff."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What's a rogue's favourite drink?",
|
||||||
|
"Answer": "Subtle Tea"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Classic: What to noobs and Rogues have in common?",
|
||||||
|
"Answer": "They both pick locks!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What did Gul'dan do when he tripped?",
|
||||||
|
"Answer": "He fel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why didn't the warrior cross the road?",
|
||||||
|
"Answer": "No Path Available."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What are the chances we have gotten the last content patch before a new expansion?",
|
||||||
|
"Answer": "Slim Tanaan"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "A trolls greeting is usually \"Eyy mon\" but what is a goblins?",
|
||||||
|
"Answer": "\"\"Mon-eyy\"\n\n^^^^^I'm ^^^^^so ^^^^^sorry..."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What musician is from ICC?",
|
||||||
|
"Answer": "What musician is from ICC?\n\nAn Arthas formally known as Prince."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How do you know if someone's been playing since Vanilla?",
|
||||||
|
"Answer": "Don't worry, they'll tell you"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What happens when a demon forgets his sunscreen?",
|
||||||
|
"Answer": "He ends up with a Burning Region"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are raid guilds recruiting rogues for the illidan fight?",
|
||||||
|
"Answer": "Because they are the only ones that have the required [preparation](http://www.wowhead.com/spell=14185/preparation) "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How does Naxxramas fly?",
|
||||||
|
"Answer": "with it's four wings"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why is the Cenarion Circle neutral?",
|
||||||
|
"Answer": "Circles have no sides."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are rogues the best bar tenders?",
|
||||||
|
"Answer": "Because they always have cheap shots "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What does Gul'dan like on his hotdogs?",
|
||||||
|
"Answer": "EVERYTHIIING"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why did a Felhunter win the spelling competition?",
|
||||||
|
"Answer": "Nobody else could Spell Lock."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call it when Illidan teaches demon hunters in Legion?",
|
||||||
|
"Answer": "a 'demon-stration\""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why can't Paladins work out at Planet Fitness?",
|
||||||
|
"Answer": "Because it's a Judgement-free zone. "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why didn't the rogue like his dagger upgrade?",
|
||||||
|
"Answer": "He wasn't a fan of knives."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call a Gilnean church?",
|
||||||
|
"Answer": "Worgenized religion"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why were night elves chosen to be Azeroth's first astronauts?",
|
||||||
|
"Answer": "Because they know the moon well."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are gnomes unable to be paladins?",
|
||||||
|
"Answer": "Because they cannot reach the Light."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Did you hear about the resto druid who never plays guardian?",
|
||||||
|
"Answer": "You could say he's all bark, no bite."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What's a dwarf rogue's favorite car?",
|
||||||
|
"Answer": "Dodge Ram"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why can you only wear 1 shoe in the Emerald nightmare?",
|
||||||
|
"Answer": "Because they'll steal Ursoc."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why is it impossible for a paladin and a rogue to make a baby?",
|
||||||
|
"Answer": "Because paladins use protection and rogues do it from behind.\n\n\nTaken from Sodapoppin's stream on December 1st. "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Do you know how Illidan hurt his knee?",
|
||||||
|
"Answer": "(this one came through in a GM ticket response today)\n\nDo you know how Illidan hurt his knee?\nIt's simple really...\nHe fel."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Icecrown Citadel was a pretty cool raid.",
|
||||||
|
"Answer": "Even thinking about it gives me the chills."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why do Blood Elves tan so quickly?",
|
||||||
|
"Answer": "They use the Sun Well."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What is Bolvar doing lately?",
|
||||||
|
"Answer": "Just chillin."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call 4 Mogu rolling down a hill?",
|
||||||
|
"Answer": "The Rolling Stones."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What is Taran Zhu's favorite cooking utensil?",
|
||||||
|
"Answer": "The Shado-Pan"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call a vapid celebrity female night elf?",
|
||||||
|
"Answer": "Kim Darnassian"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Warlords of Draenor was an emotional expansion.",
|
||||||
|
"Answer": "Even the raids were in tiers."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why do hunters never get married?",
|
||||||
|
"Answer": "Because they're always dis-engaging."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call a kind warlock",
|
||||||
|
"Answer": "Affection lock"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Which dragon has the dream job?",
|
||||||
|
"Answer": "Ysera"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Healers are like artists",
|
||||||
|
"Answer": "No one appreciates them until they are dead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What did Illidan say when one of his group mates' gear was broken?",
|
||||||
|
"Answer": "\"YOU ARE NOT REPAIRED!\""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why do bars hate rogues?",
|
||||||
|
"Answer": "Because they only want cheap shots."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What did the game tell the hunter when he dinged 40?",
|
||||||
|
"Answer": "You've got mail."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call a Blood Elf who eats his vegetables?",
|
||||||
|
"Answer": "Kale'Thas"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Where do murlocs store their gold and treasure?",
|
||||||
|
"Answer": "At the River Bank!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why did the undead smell bad?",
|
||||||
|
"Answer": "He had no nose."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How did the Rogue one-shot Illidan?",
|
||||||
|
"Answer": "By using Preparation."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What's the first thing Illidan sees when he wakes up?",
|
||||||
|
"Answer": "NOTHING"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are all paladins so clean?",
|
||||||
|
"Answer": "...Because they are always taking Bubble baths!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "did you hear about the monk serial killer",
|
||||||
|
"Answer": "the murders were pre-meditated"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How much does a serving of Pandaren Cuisine weigh?",
|
||||||
|
"Answer": "About wonton."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What injury did Gul'Dan get from playing Tennis.",
|
||||||
|
"Answer": "Twisted Nethers."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "A patch day joke...",
|
||||||
|
"Answer": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Yo mamma so fat....",
|
||||||
|
"Answer": "I tried to shadowstep her and I got a loading screen!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do you call it when the Argent Tournament catches on fire?",
|
||||||
|
"Answer": "Burning Crusade."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why can you never take a good photo of a hunter?",
|
||||||
|
"Answer": "They are always out of focus"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How do impoverished Warriors get their weapons?",
|
||||||
|
"Answer": "They Rend-to-own."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What is Arthas' favorite camping snack?",
|
||||||
|
"Answer": "Frostsmores"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are warlocks faster after drinking vodka?",
|
||||||
|
"Answer": "Because it gives them a Burning Rush!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How did the druid catch a fish?",
|
||||||
|
"Answer": "With his bear hands"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "I really want the new Grove Warden moose mount...",
|
||||||
|
"Answer": "...you could say, I consider it a moost-have."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Heard about the time Millhouse Manastorm went to Blackrock Foundry to visit Oregorger?",
|
||||||
|
"Answer": "Me neither, but I've been assured there will be gnome ore puns."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "So my new maid is a rogue...",
|
||||||
|
"Answer": "... And she keeps on using [Vanish](http://www.brockaghltd.com/wp/wp-content/uploads/2014/11/31900_4.1405683094.jpg) even when I told her I prefer [Resolve](http://ecx.images-amazon.com/images/I/81a1jTSQzbL._SY355_.jpg). I'm so fed up with her!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What do fire elementals eat for breakfast?",
|
||||||
|
"Answer": "Ragnar-Os"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why do mages share cane's?",
|
||||||
|
"Answer": "Because it's not his cane, it's R Cane!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why do sneaky rogues prefer leather armor?",
|
||||||
|
"Answer": "because it's made of hide"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What's it called when an animal spirit crashes your UI?",
|
||||||
|
"Answer": "A LOA error."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Man the 90s take so long",
|
||||||
|
"Answer": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "What is Shadow-Lord Iskar's problem?",
|
||||||
|
"Answer": "Every time we get to him in Hellfire Citadel, he always seems to be in a Fowl mood."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are hunters bad at photography?",
|
||||||
|
"Answer": "They have no focus."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "Why are paladins good at photography?",
|
||||||
|
"Answer": "They use the Light"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "How did the paladins get clean?",
|
||||||
|
"Answer": "They had a bubble bath!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Question": "You need to be careful of the trees in this game.",
|
||||||
|
"Answer": "Some of them are shady."
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user