mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
fix: forgot to change one app.TwitchClient to app.Send
This commit is contained in:
parent
bda3b1e05b
commit
d05ef09c39
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue