You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I double checked the docs and couldn't find any useful information.
Verify Issue Source
I verified the issue was caused by Discord.Net.
Check your intents
I double checked that I have the required intents.
Description
I'm unable to add a permission overwrite to a channel without giving the bot Administrator permissions.
I have all 3 Privileged gateway intents enabled.
The Voice -> Move Member permissions doesn't work.
I can give the bot every single permission on the server except admin, and it still does not work, but the moment I give it admin, it works perfectly.
Version
3.13.0
Working Version
No response
Logs
20:46:23 Gateway A UserVoiceStateUpdated handler has thrown an unhandled exception.:
Discord.Net.HttpException: The server responded with error 50001: Missing Access
at Discord.Net.Queue.RequestBucket.SendAsync(RestRequest request)
at Discord.Net.Queue.RequestQueue.SendAsync(RestRequest request)
at Discord.API.DiscordRestApiClient.SendInternalAsync(String method, String endpoint, RestRequest request)
at Discord.Rest.RestGuildChannel.AddPermissionOverwriteAsync(IUser user, OverwritePermissions permissions, RequestOptions options)
at Timbr.Modules.ChannelRenting.HandleJoined(SocketUser user, SocketVoiceState before, SocketVoiceState after) in /home/Joker/Projects/SilverCreek/Timbr/Timbr/Modules/ChannelRenting.cs:line 67
at Timbr.Modules.ChannelRenting.OnVoiceStateChanged(SocketUser user, SocketVoiceState before, SocketVoiceState after) in /home/Joker/Projects/SilverCreek/Timbr/Timbr/Modules/ChannelRenting.cs:line 26
at Discord.EventExtensions.InvokeAsync[T1,T2,T3](AsyncEvent`1 eventHandler, T1 arg1, T2 arg2, T3 arg3) at Discord.WebSocket.DiscordSocketClient.TimeoutWrap(String name, Func`1 action)
Sample
publicvoidSubscribeEvents(){
Client.UserVoiceStateUpdated += ChannelRenting.OnVoiceStateChanged;}publicvoidOnVoiceStateChanged(SocketUseruser,SocketVoiceStatebefore,SocketVoiceStateafter){if(after.VoiceChannel is not null)await after.VoiceChannel.AddPermissionOverwriteAsync((IGuildUser)user,new(connect: PermValue.Deny));}
Packages
N/A
Environment
OS: Fedora Linux 39
Architecture: x64
SDK: .NET sdk 8.0.100
The text was updated successfully, but these errors were encountered:
Check The Docs
Verify Issue Source
Check your intents
Description
I'm unable to add a permission overwrite to a channel without giving the bot Administrator permissions.
I have all 3 Privileged gateway intents enabled.
The Voice -> Move Member permissions doesn't work.
I can give the bot every single permission on the server except admin, and it still does not work, but the moment I give it admin, it works perfectly.
Version
3.13.0
Working Version
No response
Logs
Sample
Packages
N/A
Environment
The text was updated successfully, but these errors were encountered: