This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SomeHelperClass { | |
void checkForVariables(string lineToCheck) | |
{ | |
lineToCheck = lineToCheck.Replace(" ", ""); | |
string variableName = ""; | |
string value = ""; | |
var groups = lineToCheck.Split("="); | |
//If there are no = signs then the length will be 0. If there is more than 1 then the length will be above 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var discord = new DiscordClient(); | |
discord.ClientPrivateInformation.email = "email@email.com"; | |
discord.ClientPrivateInformation.password = System.IO.File.ReadAllText("password.txt"); | |
discord.SendLoginRequest(); | |
var t = new Thread(discord.Connect); |