Replaced nitter instance (RIP pussthecat nitter)

This commit is contained in:
Logan G 2023-02-27 01:00:29 -07:00
parent 1a2b019b4b
commit fe946398d7
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -50,7 +50,7 @@ func messageCreate(session *discordgo.Session, message *discordgo.MessageCreate)
} }
} }
response.Content = response.Content + fmt.Sprintf("\n<%s>", regexp.MustCompile("http.*twitter.com").ReplaceAllString(url, "https://nitter.pussthecat.org")) response.Content = response.Content + fmt.Sprintf("\n<%s>", regexp.MustCompile("http.*twitter.com").ReplaceAllString(url, "https://nitter.privacydev.net"))
result, err := goutubedl.New(context.Background(), url, goutubedl.Options{}) result, err := goutubedl.New(context.Background(), url, goutubedl.Options{})
if err != nil { if err != nil {