Skip to content

Commit

Permalink
Did some random stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rustybalboadev committed Feb 7, 2021
1 parent b4a0133 commit 76a62b6
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 4 deletions.
Binary file modified .vs/DiscordRaid/v16/.suo
Binary file not shown.
13 changes: 13 additions & 0 deletions DiscordRaid/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions DiscordRaid/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ public partial class Form1 : MetroFramework.Forms.MetroForm
{
bool invited, stop;
List<string> tokenList = new List<string>();
List<string> badTokens = new List<string>();
string invite, channelID, message, timeout, guildID;
int failedTokens = 0;


public Form1()
Expand Down Expand Up @@ -87,10 +89,19 @@ private void inviteButton_Click(object sender, EventArgs e)
IRestResponse response = client.Execute(request);
if (!response.IsSuccessful)
{
tokenList.Remove(token);
//tokenList.Remove(token);
badTokens.Add(token);
failedTokens += 1;
failedTokensTextBox.Text = "Failed Tokens: " + failedTokens.ToString();
} else
{
dynamic data = JsonConvert.DeserializeObject(response.Content);
guildID = data.guild.id;
}
dynamic data = JsonConvert.DeserializeObject(response.Content);
guildID = data.guild.id;
}
foreach (string token in badTokens)
{
tokenList.Remove(token);
}
}
else
Expand Down
Binary file modified DiscordRaid/bin/Debug/DiscordRaid.exe
Binary file not shown.
Binary file modified DiscordRaid/bin/Debug/DiscordRaid.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion DiscordRaid/bin/Debug/tokens.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Put Your Tokens Here. Make Sure There Isn't An Empty Line.
Put Your Tokens Here
Binary file modified DiscordRaid/obj/Debug/DiscordRaid.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified DiscordRaid/obj/Debug/DiscordRaid.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified DiscordRaid/obj/Debug/DiscordRaid.exe
Binary file not shown.
Binary file modified DiscordRaid/obj/Debug/DiscordRaid.pdb
Binary file not shown.

0 comments on commit 76a62b6

Please sign in to comment.