Skip to content

Commit 7e044d3

Browse files
committed
cleanup
1 parent 0581255 commit 7e044d3

7 files changed

+2
-294
lines changed

cmd/Discord_api.go

-3
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ func discordScrapeImages(s *discordgo.Session, i *discordgo.InteractionCreate) {
197197
if len(v.Attachments) > 0 {
198198
url := v.Attachments[0].URL
199199
s.ChannelMessageSend(savedImagesChannelID, url)
200-
if strings.Contains(v.Content, "Upscaled") {
201-
printify_UploadImage(fileNameFromURL(url), url)
202-
}
203200
}
204201
}
205202

cmd/GPIOPin.go

-61
This file was deleted.

cmd/Printify_api.go

-52
This file was deleted.

cmd/Printify_json.go

-17
This file was deleted.

cmd/printify.go

-45
This file was deleted.

cmd/radio.go

-116
This file was deleted.

go.mod

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ require (
2323
github.com/fsnotify/fsnotify v1.8.0 // indirect
2424
github.com/gookit/color v1.5.4 // indirect
2525
github.com/gorilla/websocket v1.5.3 // indirect
26+
github.com/hajimehoshi/go-mp3 v0.3.0 // indirect
27+
github.com/hajimehoshi/oto v0.7.1 // indirect
2628
github.com/hashicorp/hcl v1.0.0 // indirect
2729
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2830
github.com/lithammer/fuzzysearch v1.1.8 // indirect

0 commit comments

Comments
 (0)