Skip to content

Commit

Permalink
fix fortune
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Oct 16, 2023
1 parent c715c3e commit e717e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fortune/fortune.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func init() {
return
}
}
_, err = ctx.SendImage(cachefile, false)
_, err = ctx.SendImage("file:///"+file.BOTPATH+"/"+cachefile, false)
if err != nil {
_, _ = ctx.SendPlainMessage(false, "ERROR: ", err)
return
Expand Down

0 comments on commit e717e05

Please sign in to comment.