question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SelfBot doesn't connects anymore.

See original GitHub issue

I had previously a working SelfBot, i didn’t changed the code or anything, and now it’s throw an exception from Client.ConnectAsync();. and i already checked the Token, and the token is correct and its set to TokenType.User. Here the stacktrace:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Discord.WebSocket.DiscordSocketClient.<>c.<SyncGuildsAsync>b__117_0(SocketGuild x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)
   at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource](IEnumerable`1 items)
   at Discord.WebSocket.DiscordSocketClient.<SyncGuildsAsync>d__117.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Discord.WebSocket.DiscordSocketClient.<ProcessMessageAsync>d__114.MoveNext()```

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
Still34commented, Mar 7, 2019

Once again, this does not relate to the issue you are commenting on; please stop commenting on unrelated issues on random issue threads, but instead open a new issue, thank you.

0reactions
Still34commented, Mar 7, 2019

Whatever you mean, your issue clearly does not relate to this a year and a half old issue, as you had previously commented on #342 just hours ago with a similar comment with no actual feedback and or error logs.

If you do believe your issue is related to this particular issue (which is no longer valid, as Discord.Net 2.x and above have invalidated TokenType.User by prohibiting the use of such enum on compilation), then please provide relevant logs and or description - otherwise, open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

discord selfbot not working? : r/discordapp
I just recently downloaded and added a selfbot to my discord ... r/discordapp - Why can't you connect your Skype to your Discord...
Read more >
Error trying to make a discord selfbot in python
It's actually because selfbots are not supported by Discord.py anymore since it's agains TOS. You could re-install a previous version of ...
Read more >
Bring back our selfbots!
Hi discordians. We get why you wanted selfbots gone, but we miss the utility of them, and bots often don't suffice. So here...
Read more >
How to Make a Discord Selfbot 2022-23 | Part 1 - YouTube
... as Discord doesn't allow users to normally make embeds anymore. ... https://bit.ly/3PPrO82 Links https://www.python.org/downloads/ ...
Read more >
For moderation purposes, what precautions should I take ...
Self-botting is strictly against Discord's ToS and Community Guidelines. DO NOT DO IT! Instead, it would be much safer to create a bot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found