aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keep.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/keep.go b/keep.go
index df7c652..958bc55 100644
--- a/keep.go
+++ b/keep.go
@@ -199,9 +199,9 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
purell.FlagRemoveFragment|
purell.FlagSortQuery)
- // In this context, leading/trailing dots are more commonly punctuating
+ // 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) {