Skip to content

Commit

Permalink
updated banned words
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rn0 committed Sep 27, 2024
2 parents b075ce5 + 9a879a4 commit a569edf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func init() {
db.AutoMigrate(&BannedTrack{})

// Load Banned Words
bannedWordsFile, err := os.Open("../resources/banned/words.txt")
bannedWordsFile, err := os.Open("templates/banned-words.txt")
if err != nil {
panic(err)
}
Expand All @@ -94,7 +94,7 @@ func init() {
}

// Load Banned Tracks
bannedTracksFile, err := os.Open("../resources/banned/tracks.txt")
bannedTracksFile, err := os.Open("templates/banned-tracks.txt")
if err != nil {
panic(err)
}
Expand Down
1 change: 1 addition & 0 deletions api/templates/banned-tracks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spotify:track:6rsoBvxrlxdmqJyGPPciyq
5 changes: 5 additions & 0 deletions api/templates/banned-words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fart
cum
ram ranch
orgasm
beats by talent

0 comments on commit a569edf

Please sign in to comment.