fix: forgot to change one app.TwitchClient to app.Send

This commit is contained in:
lyx0 2023-10-05 21:23:23 +02:00
parent bda3b1e05b
commit d05ef09c39

View file

@ -145,7 +145,7 @@ func (app *application) GofileDownload(target, link string) {
app.Send(target, "Downloaded.")
fileName := fmt.Sprintf("%s.%s", safeFilename, rExt)
f, err := os.Create(fileName)
app.TwitchClient.Say(target, fmt.Sprintf("Filename: %s", fileName))
app.Send(target, fmt.Sprintf("Filename: %s", fileName))
if err != nil {
app.Log.Errorln(err)