-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
35 lines (32 loc) · 967 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using WindowsInput.Native;
using WindowsInput;
namespace AutoRaid
{
class Program
{
static void Main(string[] args)
{
InputSimulator simulator = new InputSimulator();
Console.WriteLine("What message do you want to spam?");
string spamLine = Console.ReadLine();
static void openPrivate()
{
string privateBrowser = "/C start microsoft-edge:http://www.discordapp.com/";
System.Diagnostics.Process.Start("CMD.exe", privateBrowser);
}
openPrivate();
Console.ReadKey();
while (true)
{
try
{
simulator.Keyboard.TextEntry(spamLine).KeyPress(VirtualKeyCode.RETURN).Sleep(1000);
} catch (System.Exception)
{
break;
}
}
}
}
}