diff options
author | Jordan <me@jordan.im> | 2022-12-05 14:39:57 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2022-12-05 14:39:57 -0700 |
commit | 550bc286582e26fadc85508572c75d81bcfcd13a (patch) | |
tree | d2254400850eb0aa5b1417cd2bcdcf929eae5899 | |
parent | ae94a4a9cfe21b07e2235022d634c39b602e5c87 (diff) | |
download | keep-550bc286582e26fadc85508572c75d81bcfcd13a.tar.gz keep-550bc286582e26fadc85508572c75d81bcfcd13a.zip |
keep: include commas in the set of removed punctuating marks
-rw-r--r-- | keep.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |