mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Added join/left messages to Discord.
This commit is contained in:
parent
7f8f8b1c48
commit
092b3b49c1
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue