diff options
author | Jordan <me@jordan.im> | 2023-10-17 10:18:19 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-10-17 10:18:19 -0700 |
commit | 1958cc39ec416e9e7ceca8d0658914167eeafe22 (patch) | |
tree | c3a4b43b1355d47b6f6293a0155e14384f8398d8 | |
parent | 61553158764c6801578076c72d8bffb423e343cc (diff) | |
download | keep-1958cc39ec416e9e7ceca8d0658914167eeafe22.tar.gz keep-1958cc39ec416e9e7ceca8d0658914167eeafe22.zip |
keep: remove parenthesis from set of trimmed 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 marks 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) { |