aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications
diff options
context:
space:
mode:
authorAren <[email protected]>2017-02-12 17:47:16 +0100
committerAren <[email protected]>2017-02-12 17:47:16 +0100
commit092b3b49c174e6dfbb350bf60faf07da6cddd095 (patch)
tree2b66b2666b3ca0bd6512a863e5c630c54b3e97ed /ShiftOS.WinForms/Applications
parent7f8f8b1c483e04abde8e849e8054a5ff4b651051 (diff)
downloadshiftos_thereturn-092b3b49c174e6dfbb350bf60faf07da6cddd095.tar.gz
shiftos_thereturn-092b3b49c174e6dfbb350bf60faf07da6cddd095.tar.bz2
shiftos_thereturn-092b3b49c174e6dfbb350bf60faf07da6cddd095.zip
Added join/left messages to Discord.
Diffstat (limited to 'ShiftOS.WinForms/Applications')
-rw-r--r--ShiftOS.WinForms/Applications/Discord.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Applications/Discord.cs b/ShiftOS.WinForms/Applications/Discord.cs
index cfce55f..d6b33dd 100644
--- a/ShiftOS.WinForms/Applications/Discord.cs
+++ b/ShiftOS.WinForms/Applications/Discord.cs
@@ -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;
}