Skip to content

Instantly share code, notes, and snippets.

View davidneumann's full-sized avatar

David Neumann davidneumann

View GitHub Profile
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.
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);