moved questions back to a folder, for customization
This commit is contained in:
parent
6b1a203b68
commit
fbc36c094e
@ -376,7 +376,7 @@ namespace NadekoBot
|
||||
internal void Reload() {
|
||||
_r = new Random();
|
||||
pool = new List<TriviaQuestion>();
|
||||
JArray arr = JArray.Parse(Properties.Resources.questions);
|
||||
JArray arr = JArray.Parse(File.ReadAllText("data/questions.txt"));
|
||||
|
||||
foreach (var item in arr) {
|
||||
TriviaQuestion tq;
|
||||
|
@ -23,7 +23,7 @@ namespace NadekoBot {
|
||||
public static string password;
|
||||
public static string TrelloAppKey;
|
||||
public static bool ForwardMessages = false;
|
||||
public static string BotVersion = "0.7-beta5";
|
||||
public static string BotVersion = "0.8-beta1";
|
||||
public static int commandsRan = 0;
|
||||
|
||||
static void Main() {
|
||||
|
@ -421,9 +421,6 @@
|
||||
<ItemGroup>
|
||||
<None Include="resources\images\cards\2_of_clubs.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="resources\other_data\questions.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
19
NadekoBot/Properties/Resources.Designer.cs
generated
19
NadekoBot/Properties/Resources.Designer.cs
generated
@ -720,25 +720,6 @@ namespace NadekoBot.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to [
|
||||
/// {
|
||||
/// "Question": "7x was used to refer to the secret ingredient of what drink",
|
||||
/// "Answer": "coca cola"
|
||||
/// },
|
||||
/// {
|
||||
/// "Question": "And the big wheel keep on turning neon burning up above and I'm just high on the world come on and take the low ride with me girl on the..... What's the Dire Straits song title?",
|
||||
/// "Answer": "tunnel of love"
|
||||
/// },
|
||||
/// {
|
||||
/// "Question": "Beverly Hills Cop, when Axel Foley enters the hotel, he uses an alias. Who does he say he works for, and who does he say he's go [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string questions {
|
||||
get {
|
||||
return ResourceManager.GetString("questions", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -325,7 +325,4 @@
|
||||
<data name="_9_of_spades" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\images\cards\9_of_spades.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="questions" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\other_data\questions.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
</root>
|
File diff suppressed because it is too large
Load Diff
@ -154,7 +154,6 @@ Command and aliases | Description | Usage
|
||||
`!m q`, `!m yq` | Queue a song using keywords or link. **You must be in a voice channel**. | `!m q Dream Of Venice`
|
||||
`!m np`, `!m playing` | Shows what song is playing.
|
||||
`!m lq`, `!m ls`, `!m lp` | Lists up to 10 currently queued songs.
|
||||
`!m clrbfr`, `!m clearbuffers` | Clears the music buffer across all servers. **Owner only.**
|
||||
`!m sh` | Shuffles the current playlist.
|
||||
|
||||
### Searches
|
||||
|
Loading…
Reference in New Issue
Block a user