removed some unneeeded prints
This commit is contained in:
@@ -70,7 +70,7 @@ namespace NadekoBot.Modules.Administration
|
||||
catch (Exception ex)
|
||||
{
|
||||
await ReplyErrorLocalized("setrole_err").ConfigureAwait(false);
|
||||
Console.WriteLine(ex.ToString());
|
||||
_log.Info(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -216,7 +216,7 @@ namespace NadekoBot.Modules.Administration
|
||||
catch (Exception ex)
|
||||
{
|
||||
await ReplyErrorLocalized("self_assign_perms").ConfigureAwait(false);
|
||||
Console.WriteLine(ex);
|
||||
_log.Info(ex);
|
||||
return;
|
||||
}
|
||||
var msg = await ReplyConfirmLocalized("self_assign_success",Format.Bold(role.Name)).ConfigureAwait(false);
|
||||
|
@@ -25,7 +25,7 @@ namespace NadekoBot.Modules.Games.Hangman
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -173,7 +173,7 @@ namespace NadekoBot.Modules.Searches
|
||||
// .FirstOrDefault(jt => jt["role"].ToString() == role)?["general"];
|
||||
// if (general == null)
|
||||
// {
|
||||
// Console.WriteLine("General is null.");
|
||||
// //Console.WriteLine("General is null.");
|
||||
// return;
|
||||
// }
|
||||
// //get build data for this role
|
||||
@@ -309,7 +309,7 @@ namespace NadekoBot.Modules.Searches
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// Console.WriteLine(ex);
|
||||
// //Console.WriteLine(ex);
|
||||
// await channel.SendMessageAsync("💢 Failed retreiving data for that champion.").ConfigureAwait(false);
|
||||
// }
|
||||
// });
|
||||
|
@@ -86,7 +86,6 @@ namespace NadekoBot.Modules.Searches
|
||||
{
|
||||
http.AddFakeHeaders();
|
||||
var url = $"https://owapi.nadekobot.me/api/v3/u/{battletag}/stats";
|
||||
System.Console.WriteLine(url);
|
||||
var res = await http.GetStringAsync($"https://owapi.nadekobot.me/api/v3/u/{battletag}/stats");
|
||||
var model = JsonConvert.DeserializeObject<OverwatchApiModel.OverwatchResponse>(res);
|
||||
switch (region)
|
||||
|
Reference in New Issue
Block a user