remove online check
This commit is contained in:
parent
d88e9a6f18
commit
16f78ddea4
1 changed files with 0 additions and 8 deletions
|
@ -37,14 +37,6 @@ namespace Geekbot.net
|
||||||
{
|
{
|
||||||
Console.WriteLine("* Initing Stuff");
|
Console.WriteLine("* Initing Stuff");
|
||||||
|
|
||||||
var ping = new Ping().Send("8.8.8.8");
|
|
||||||
if(ping.Status != IPStatus.Success)
|
|
||||||
{
|
|
||||||
Console.WriteLine("It seems that you are offline");
|
|
||||||
Console.WriteLine("Please connect to the Internet");
|
|
||||||
Environment.Exit(101);
|
|
||||||
}
|
|
||||||
|
|
||||||
client = new DiscordSocketClient();
|
client = new DiscordSocketClient();
|
||||||
commands = new CommandService();
|
commands = new CommandService();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue