Merge branch 'master' of https://github.com/TBMCPlugins/DiscordPlugin.git
This commit is contained in:
commit
e8444636b8
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public class DiscordSender implements CommandSender {
|
|||
}
|
||||
final String sendmsg = sanitizedMsg;
|
||||
Bukkit.getScheduler().runTaskAsynchronously(DiscordPlugin.plugin, () -> DiscordPlugin
|
||||
.sendMessageToChannel(channel, (broadcast ? user.mention() + " " : "") + sendmsg));
|
||||
.sendMessageToChannel(channel, (!broadcast ? user.mention() + " " : "") + sendmsg));
|
||||
} catch (Exception e) {
|
||||
TBMCCoreAPI.SendException("An error occured while sending message to DiscordSender", e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue