PetteriM1 / DiscordChat

Sync Discord chat with your Nukkit server
https://nukkitx.com/resources/discordchat.137/
15 stars 10 forks source link

Error in the console #32

Closed WordPress24CZ closed 1 year ago

WordPress24CZ commented 1 year ago

[DiscordChat] There was an error while enabling DiscordChat net.dv8tion.jda.api.exceptions.InsufficientPermissionException: Cannot perform action due to a lack of Permission. Missing permission: MANAGE_CHANNEL at net.dv8tion.jda.internal.managers.ChannelManagerImpl.checkPermissions(ChannelManagerImpl.java:495) ~[DiscordChat-2.2.4.jar:?] at net.dv8tion.jda.internal.managers.ChannelManagerImpl.(ChannelManagerImpl.java:76) ~[DiscordChat-2.2.4.jar:?] at net.dv8tion.jda.internal.entities.AbstractChannelImpl.getManager(AbstractChannelImpl.java:197) ~[DiscordChat-2.2.4.jar:?] at me.petterim1.discordchat.API.setTopic(API.java:94) ~[DiscordChat-2.2.4.jar:?] at me.petterim1.discordchat.API.setTopic(API.java:82) ~[DiscordChat-2.2.4.jar:?] at me.petterim1.discordchat.Loader.onEnable(Loader.java:58) [DiscordChat-2.2.4.jar:?] at me.petterim1.discordchat.DiscordCommand.handleCommand(DiscordCommand.java:38) [DiscordChat-2.2.4.jar:?] at me.petterim1.discordchat.Loader.onCommand(Loader.java:145) [DiscordChat-2.2.4.jar:?] at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:257) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Server.dispatchCommand(Server.java:768) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Player.handleDataPacket(Player.java:2926) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.network.session.RakNetPlayerSession.serverTick(RakNetPlayerSession.java:192) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:89) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.network.Network.processInterfaces(Network.java:165) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Server.tick(Server.java:1162) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Server.tickProcessor(Server.java:940) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Server.start(Server.java:908) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Server.(Server.java:589) [nukkit-1.0-SNAPSHOT.jar:?] at cn.nukkit.Nukkit.main(Nukkit.java:120) [nukkit-1.0-SNAPSHOT.jar:?]

PetteriM1 commented 1 year ago

Make sure your Discord bot has "manage channel" permission so it can edit the channel title.