Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Missing permission: VIEW_CHANNEL #687

Open
sentry-io bot opened this issue Nov 9, 2022 · 0 comments
Open

Missing permission: VIEW_CHANNEL #687

sentry-io bot opened this issue Nov 9, 2022 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 9, 2022

Sentry Issue: STATSBOTDISCORD-8H

InsufficientPermissionException: Cannot perform action due to a lack of Permission. Missing permission: VIEW_CHANNEL
    at net.dv8tion.jda.internal.entities.mixin.channel.middleman.GuildChannelMixin.checkPermission(GuildChannelMixin.java:63)
    at net.dv8tion.jda.internal.entities.mixin.channel.middleman.GuildChannelMixin.checkPermission(GuildChannelMixin.java:55)
    at net.dv8tion.jda.internal.entities.mixin.channel.middleman.GuildMessageChannelMixin.checkCanAccessChannel(GuildMessageChannelMixin.java:125)
    at net.dv8tion.jda.internal.entities.mixin.channel.middleman.MessageChannelMixin.deleteMessageById(MessageChannelMixin.java:185)
    at net.dv8tion.jda.api.entities.MessageChannel.deleteMessageById(MessageChannel.java:821)
...
(9 additional frame(s) were not displayed)

InvocationTargetException: None
    at jdk.internal.reflect.GeneratedMethodAccessor8.invoke
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
    at java.lang.reflect.Method.invoke
    at de.timmi6790.discord_framework.module.modules.event.EventModule.lambda$executeEvent$1(EventModule.java:159)
    at java.util.concurrent.ThreadPoolExecutor.runWorker
...
(2 additional frame(s) were not displayed)

Event
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants