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