Added join/left messages to Discord.

This commit is contained in:
Aren 2017-02-12 17:47:16 +01:00
parent 7f8f8b1c48
commit 092b3b49c1

View file

@ -50,10 +50,14 @@ namespace ShiftOS.WinForms.Applications
public void OnLoad()
{
WebRequest joinRequest = WebRequest.Create("http://selfbot-areno.rhcloud.com/send/" + SaveSystem.CurrentSave.Username + " has connected!");
joinRequest.GetResponse();
}
public bool OnUnload()
{
WebRequest leaveRequest = WebRequest.Create("http://selfbot-areno.rhcloud.com/send/" + SaveSystem.CurrentSave.Username + " has left!");
leaveRequest.GetResponse();
return true;
}