Browse Source

trim domain

master
Gregory Rudolph 2 years ago
parent
commit
706c2b516b
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      commands.go

2
commands.go

@ -292,7 +292,7 @@ func Status(b BotCommand) bool { @@ -292,7 +292,7 @@ func Status(b BotCommand) bool {
func WhitelistURL(b BotCommand) bool {
defer log.PanicSafe()
config.WhitelistURLs = append(config.WhitelistURLs, strings.Trim(
config.WhitelistURLs = append(config.WhitelistURLs, strings.TrimSpace(
strings.ReplaceAll(
strings.ReplaceAll(b.Message.Content, b.Command, ""),
"<@688025671968096341>", ""),

Loading…
Cancel
Save