Skip to content

Commit

Permalink
* Don't send messages for private rolls
Browse files Browse the repository at this point in the history
* Bump version

Signed-off-by: Tobias Franz <[email protected]>
  • Loading branch information
kid2407 committed Jul 3, 2021
1 parent e95c2fa commit c783535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"title": "Baka Chat",
"description": "A module to make natural 1s and 20s more special.",
"author": "kid2407",
"version": "1.1.0",
"version": "1.1.1",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "0.8.7",
"compatibleCoreVersion": "0.8.8",
"url": "https://github.com/kid2407/baka-chat",
"download": "https://github.com/kid2407/baka-chat/releases/latest/download/module.zip",
"manifest": "https://github.com/kid2407/baka-chat/releases/latest/download/module.json",
Expand Down
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function handleBetterDice5ERolls(message) {
* @param {ChatMessage} message
*/
function handleChatMessage(message) {
if (message.isRoll) {
if (message.isRoll && message.data.whisper.length === 0) {
let handledResult

if (betterRolls5ePresent && message.roll.dice.length === 0) {
Expand Down

0 comments on commit c783535

Please sign in to comment.