Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- spam = true;
- new Thread(delegate() // you need to put this in every option but with a new command | You need to make the tokens save so it can check them
- {
- bool flag2 = Form1.spam;
- if (flag2)
- {
- while (Form1.spam)
- {
- using (WebClient webClient = new WebClient())
- {
- using (StreamReader streamReader = File.OpenText("tokens.txt"))
- {
- string[] array = streamReader.ReadToEnd().Split("\r\n".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
- foreach (string text in array)
- {
- try
- {
- NameValueCollection nameValueCollection = new NameValueCollection();
- nameValueCollection["content"] = "pls work"; // The commands that you want it to do
- webClient.Headers["authorization"] = text;
- byte[] array3 = webClient.UploadValues("https://discordapp.com/api/v6/channels/" + this.chanelid.Text + "/messages", nameValueCollection);
- }
- catch (WebException ex)
- {
- string text2 = new StreamReader(ex.Response.GetResponseStream()).ReadToEnd();
- bool flag3 = text2.Contains("401: Unauthorized");
- if (flag3)
- {
- MessageBox.Show("A Token is invalid, please recheck.", "");
- }
- else
- {
- bool flag4 = text2.Contains("You need to verify your account in order to perform this action.");
- if (flag4)
- {
- MessageBox.Show("A Token is unverified, please recheck.", "");
- }
- else
- {
- bool flag5 = text2.Contains("TOO MANY");
- if (flag5)
- {
- Thread.Sleep(3000);
- }
- else
- {
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }).Start();
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement