Commands with require pinging users sometimes don't work
See original GitHub issueSystem.NullReferenceException: Object reference not set to an instance of an object.
at Discord.WebSocket.SocketGuildChannel.GetPermissionOverwrite(IRole role)
at Discord.Permissions.ResolveChannel(IGuild guild, IGuildUser user, IGuildChannel channel, UInt64 guildPermissions)
at Discord.WebSocket.SocketTextChannel.<get_Users>b__13_0(SocketGuildUser x)
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
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.SocketTextChannel.get_Users()
at Discord.WebSocket.SocketGuildChannel.Discord.IChannel.GetUsersAsync(CacheMode mode, RequestOptions options)
at Discord.Commands.UserTypeReader`1.<Read>d__0.MoveNext()
It happens to random users, never to me. One person said that it was temporarily fixed when they removed all roles form themselves and readded them back, but I wouldn’t count on it. Looking at the code, it could be either that the EveryoneRole is somehow null at line 128, or that the GetRole on line 138 in Permissions.cs returns null.
Also, it has been happening for a very long time.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:8 (3 by maintainers)
Top Results From Across the Web
No reply for ping command. What does this mean?
Another issue with ping is that people often misinterpret the results. ... In most cases, ping does not work because of firewall settings....
Read more >How to Troubleshoot a Failed Ping Request
Use Command Prompt. If everything is in working order with the hardware, use the Windows Command Prompt to manually troubleshoot network ...
Read more >What could cause a ping command to not work?
There are several potential reasons why the ping command may not work or fail to function correctly. Here are some common causes:.
Read more >What to check if 'pinging' doesn't work?
To check the IP address of the server, go to Start > Run > CMD > ipconfig, and scroll through the IP addresses...
Read more >Windows 10 Ping Stops Working
If Windows ping stop working You Can Try To "Open Command Promt As as Adminstrator" And Then Type "Ping". Wait a few moments...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any updates on this?
Would like to get an update if possible. Happening on the one server I actually need it to work on.