Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- tier: minimum
tnt_ref: v1.1.0
- tier: stable
tnt_ref: v1.3.0
tnt_ref: v1.3.2
- tier: main
tnt_ref: main
steps:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.3.1
2 changes: 1 addition & 1 deletion examples/echo-module/echo-module.awk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BEGIN {
}

{
if (!begin_event("echo-module", "0.2.0")) next
if (!begin_event("echo-module", "0.2.1")) next
text = safe_string("message", "plain_text")
if (text != "") emit_message("echo: " text)
emit_event_ok()
Expand Down
2 changes: 1 addition & 1 deletion examples/echo-module/tnt-module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocol": "tnt.module.v1",
"name": "echo-module",
"version": "0.2.0",
"version": "0.2.1",
"tnt_min_version": "1.1.0",
"description": "A minimal TNT module that echoes chat text.",
"entrypoint": "./echo-module.sh",
Expand Down
2 changes: 1 addition & 1 deletion modules/8ball-module/8ball-module.awk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BEGIN {
}

{
if (!begin_event("8ball-module", "0.2.0")) next
if (!begin_event("8ball-module", "0.2.1")) next
text = safe_string("message", "plain_text")
if (text == "/8ball" || substr(text, 1, 7) == "/8ball ") {
sender = safe_string("message", "sender")
Expand Down
2 changes: 1 addition & 1 deletion modules/8ball-module/tnt-module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocol": "tnt.module.v1",
"name": "8ball-module",
"version": "0.2.0",
"version": "0.2.1",
"tnt_min_version": "1.1.0",
"description": "Answers chat messages that start with /8ball like a Magic 8-Ball.",
"benchmark": {"plain_text": "/8ball will this benchmark pass?", "expect_message_create": true},
Expand Down
2 changes: 1 addition & 1 deletion modules/choose-module/choose-module.awk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function clear_choices( item) {
}

{
if (!begin_event("choose-module", "0.2.0")) next
if (!begin_event("choose-module", "0.2.1")) next
text = safe_string("message", "plain_text")
if (text == "/choose" || substr(text, 1, 8) == "/choose ") {
rest = trim(substr(text, 8))
Expand Down
2 changes: 1 addition & 1 deletion modules/choose-module/tnt-module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocol": "tnt.module.v1",
"name": "choose-module",
"version": "0.2.0",
"version": "0.2.1",
"tnt_min_version": "1.1.0",
"description": "Picks one option at random for chat messages that start with /choose.",
"benchmark": {"plain_text": "/choose alpha | beta | gamma", "expect_message_create": true},
Expand Down
2 changes: 1 addition & 1 deletion modules/flip-module/flip-module.awk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BEGIN {
}

{
if (!begin_event("flip-module", "0.2.0")) next
if (!begin_event("flip-module", "0.2.1")) next
text = safe_string("message", "plain_text")
if (text == "/flip" || substr(text, 1, 6) == "/flip ") {
sender = safe_string("message", "sender")
Expand Down
2 changes: 1 addition & 1 deletion modules/flip-module/tnt-module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocol": "tnt.module.v1",
"name": "flip-module",
"version": "0.2.0",
"version": "0.2.1",
"tnt_min_version": "1.1.0",
"description": "Flips a coin for chat messages that start with /flip.",
"benchmark": {"plain_text": "/flip", "expect_message_create": true},
Expand Down
2 changes: 1 addition & 1 deletion modules/quote-module/quote-module.awk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BEGIN {
}

{
if (!begin_event("quote-module", "0.2.0")) next
if (!begin_event("quote-module", "0.2.1")) next
text = safe_string("message", "plain_text")
if (text == "/quote" || substr(text, 1, 7) == "/quote ") {
pick = int(next_random() * quote_count) + 1
Expand Down
2 changes: 1 addition & 1 deletion modules/quote-module/tnt-module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocol": "tnt.module.v1",
"name": "quote-module",
"version": "0.2.0",
"version": "0.2.1",
"tnt_min_version": "1.1.0",
"description": "Shares a random proverb for chat messages that start with /quote.",
"benchmark": {"plain_text": "/quote", "expect_message_create": true},
Expand Down
2 changes: 1 addition & 1 deletion modules/roll-module/roll-module.awk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function roll_result(spec, sender, dpos, ncount, rest, mod, mpos, i, c,
}

{
if (!begin_event("roll-module", "0.2.0")) next
if (!begin_event("roll-module", "0.2.1")) next
text = safe_string("message", "plain_text")
if (text == "/roll" || substr(text, 1, 6) == "/roll ") {
rest = substr(text, 6)
Expand Down
2 changes: 1 addition & 1 deletion modules/roll-module/tnt-module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocol": "tnt.module.v1",
"name": "roll-module",
"version": "0.2.0",
"version": "0.2.1",
"tnt_min_version": "1.1.0",
"description": "Rolls dice for chat messages that start with /roll.",
"benchmark": {"plain_text": "/roll 2d6", "expect_message_create": true},
Expand Down
2 changes: 1 addition & 1 deletion tnt-modules.7
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH TNT-MODULES 7 "2026-08-18" "tnt-modules 0.3.0"
.TH TNT-MODULES 7 "2026-09-18" "tnt-modules 0.3.1"
.SH NAME
tnt\-modules \- bundled chat commands for TNT
.SH SYNOPSIS
Expand Down