global nadeko compilation issue
This commit is contained in:
parent
dd1d21e29c
commit
809219acc3
@ -23,9 +23,9 @@ namespace NadekoBot.Modules.Games.Hangman
|
|||||||
{
|
{
|
||||||
data = JsonConvert.DeserializeObject<Dictionary<string, HangmanObject[]>>(File.ReadAllText(termsPath));
|
data = JsonConvert.DeserializeObject<Dictionary<string, HangmanObject[]>>(File.ReadAllText(termsPath));
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
//ignored
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -431,7 +431,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
|
|
||||||
using (var http = new HttpClient())
|
using (var http = new HttpClient())
|
||||||
{
|
{
|
||||||
var scvids = JObject.Parse(await http.GetStringAsync($"http://scapi.nadekobot.me/resolve?url={pl}").ConfigureAwait(false))["tracks"].ToObject<SoundCloudVideo[]>();
|
var scvids = JObject.Parse(await http.GetStringAsync($"https://scapi.nadekobot.me/resolve?url={pl}").ConfigureAwait(false))["tracks"].ToObject<SoundCloudVideo[]>();
|
||||||
await _music.QueueSong(((IGuildUser)Context.User), (ITextChannel)Context.Channel, ((IGuildUser)Context.User).VoiceChannel, scvids[0].TrackLink).ConfigureAwait(false);
|
await _music.QueueSong(((IGuildUser)Context.User), (ITextChannel)Context.Channel, ((IGuildUser)Context.User).VoiceChannel, scvids[0].TrackLink).ConfigureAwait(false);
|
||||||
|
|
||||||
MusicPlayer musicPlayer;
|
MusicPlayer musicPlayer;
|
||||||
|
@ -27,6 +27,7 @@ using NadekoBot.Services.Utility;
|
|||||||
using NadekoBot.Services.Help;
|
using NadekoBot.Services.Help;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using NadekoBot.Services.Pokemon;
|
using NadekoBot.Services.Pokemon;
|
||||||
|
using NadekoBot.DataStructures;
|
||||||
|
|
||||||
namespace NadekoBot
|
namespace NadekoBot
|
||||||
{
|
{
|
||||||
@ -287,8 +288,8 @@ namespace NadekoBot
|
|||||||
// .Where(x => x.Count() > 1)
|
// .Where(x => x.Count() > 1)
|
||||||
// .Select(x => x.Key + $"({x.Count()})")));
|
// .Select(x => x.Key + $"({x.Count()})")));
|
||||||
|
|
||||||
|
//unload modules which are not available on the public bot
|
||||||
#if GLOBAL_NADEKO
|
#if GLOBAL_NADEKO
|
||||||
//unload modules which are not available on the public bot
|
|
||||||
CommandService
|
CommandService
|
||||||
.Modules
|
.Modules
|
||||||
.ToArray()
|
.ToArray()
|
||||||
|
@ -94,7 +94,10 @@ namespace NadekoBot.Extensions
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex) { }
|
catch (Exception)
|
||||||
|
{
|
||||||
|
//ignored
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
using (msg.OnReaction(client, changePage, changePage))
|
using (msg.OnReaction(client, changePage, changePage))
|
||||||
|
Loading…
Reference in New Issue
Block a user