aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-12-05 14:39:57 -0700
committerJordan <me@jordan.im>2022-12-05 14:39:57 -0700
commit550bc286582e26fadc85508572c75d81bcfcd13a (patch)
treed2254400850eb0aa5b1417cd2bcdcf929eae5899
parentae94a4a9cfe21b07e2235022d634c39b602e5c87 (diff)
downloadkeep-550bc286582e26fadc85508572c75d81bcfcd13a.tar.gz
keep-550bc286582e26fadc85508572c75d81bcfcd13a.zip
keep: include commas in the set of removed punctuating marks
-rw-r--r--keep.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/keep.go b/keep.go
index ef586f9..df7c652 100644
--- a/keep.go
+++ b/keep.go
@@ -201,7 +201,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
// In this context, leading/trailing dots are more commonly punctuating
// and generate invalid URLs if preserved
- uStr = strings.Trim(uStr, ".")
+ uStr = strings.Trim(uStr, ".,")
// Ensure host is not present in ignoreList set
if isIgnored(config.Ignore, uStr) {