Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Uh oh! You've found an error in CHDiscord.
- This happened while running your code, so you may be able to find a workaround, but is ultimately an issue in CHDiscord.
- The following code caused the error:
- @text = ''
- discord_broadcast('console', @text)
- on or around D:\Cadabra\plugins\CommandHelper\auto_include.ms:142.
- Please report this to the developers, and be sure to include the version numbers:
- Server version: 1.12.2-R0.1-SNAPSHOT;
- CommandHelper version: 3.3.2;
- Loaded extensions and versions:
- CHFiles (2.1.2)
- CHDiscord (1.2.1)
- CHLogBlock (0.1.1)
- CHDangerous (1.0.2)
- SKCompat (2.1.1)
- Core (3.3.2)
- CHSpigot (1.5.1)
- Here's the stacktrace:
- java.lang.IllegalArgumentException: Provided text for message may not be empty
- at net.dv8tion.jda.core.utils.Checks.notEmpty(Checks.java:63)
- at net.dv8tion.jda.core.entities.MessageChannel.sendMessage(MessageChannel.java:328)
- at net.dv8tion.jda.core.entities.impl.TextChannelImpl.sendMessage(TextChannelImpl.java:315)
- at me.pseudoknight.chdiscord.Functions$discord_broadcast.exec(Functions.java:135)
- at com.laytonsmith.core.Script.eval(Script.java:372)
- at com.laytonsmith.core.Procedure.execute(Procedure.java:217)
- at com.laytonsmith.core.Procedure.cexecute(Procedure.java:167)
- at com.laytonsmith.core.Script.eval(Script.java:301)
- at com.laytonsmith.core.Procedure.execute(Procedure.java:217)
- at com.laytonsmith.core.Procedure.cexecute(Procedure.java:167)
- at com.laytonsmith.core.Script.eval(Script.java:301)
- at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:2197)
- at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:2156)
- at com.laytonsmith.core.constructs.CClosure.execute(CClosure.java:186)
- at com.laytonsmith.abstraction.bukkit.BukkitMCCommand.handleCustomCommand(BukkitMCCommand.java:256)
- at com.laytonsmith.commandhelper.CommandHelperPlugin.onCommand(CommandHelperPlugin.java:606)
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
- at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648)
- at com.laytonsmith.abstraction.bukkit.BukkitMCServer.runasConsole(BukkitMCServer.java:357)
- at com.laytonsmith.core.functions.Meta$runas.exec(Meta.java:139)
- at com.laytonsmith.core.Script.eval(Script.java:372)
- at com.laytonsmith.core.Script.seval(Script.java:244)
- at com.laytonsmith.core.functions.BasicLogic$_if.execs(BasicLogic.java:85)
- at com.laytonsmith.core.Script.eval(Script.java:330)
- at com.laytonsmith.core.Script.eval(Script.java:340)
- at com.laytonsmith.core.Script.seval(Script.java:244)
- at com.laytonsmith.core.functions.BasicLogic$_if.execs(BasicLogic.java:85)
- at com.laytonsmith.core.Script.eval(Script.java:330)
- at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:2197)
- at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:2156)
- at com.laytonsmith.core.events.AbstractEvent.execute(AbstractEvent.java:115)
- at com.laytonsmith.core.events.BoundEvent.execute(BoundEvent.java:300)
- at com.laytonsmith.core.events.BoundEvent.trigger(BoundEvent.java:257)
- at com.laytonsmith.core.events.EventUtils.FireListeners(EventUtils.java:307)
- at com.laytonsmith.core.events.EventUtils.TriggerListener(EventUtils.java:294)
- at me.pseudoknight.chdiscord.DiscordListener.lambda$onGuildMessageReceived$0(DiscordListener.java:32)
- at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftFuture.run(CraftFuture.java:85)
- at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
- at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
- at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
- at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
- at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
- at java.lang.Thread.run(Unknown Source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement