aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2025-03-07 22:37:04 -0500
committerPaul Duncan <pabs@pablotron.org>2025-03-07 22:37:04 -0500
commit773c6a03738cd80ff76fe1c8ea82c0291e52d16d (patch)
tree00ec4d2e8087800580211554f84ac708fc2134bf
parentdbfd99aea23d3c1a6a35f3ca997d2ea4418c87d4 (diff)
downloadjim-bot-773c6a03738cd80ff76fe1c8ea82c0291e52d16d.tar.xz
jim-bot-773c6a03738cd80ff76fe1c8ea82c0291e52d16d.zip
bot/bot.go: remove unused delims (fix staticcheck warning)
-rw-r--r--bot/bot.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/bot/bot.go b/bot/bot.go
index 4cad9c2..3a71b89 100644
--- a/bot/bot.go
+++ b/bot/bot.go
@@ -402,6 +402,7 @@ var nouns = []string {
"blockchain",
}
+// join word list
var joins = []string {
"for",
"and",
@@ -410,13 +411,6 @@ var joins = []string {
"to",
}
-var delims = []string {
- " ",
- ", ",
- " and ",
- ", and ",
-}
-
// Phrase which contains the following:
//
// 1. Adverb (optional).