~nytpu/snep-bot

1243d75ac46f22d1be2d89cc455af5f7c38711eb — nytpu 5 months ago 906f00c
updaet
1 files changed, 2 insertions(+), 2 deletions(-)

M snep-bot.go
M snep-bot.go => snep-bot.go +2 -2
@@ 38,7 38,7 @@ func main() {

	filename := fmt.Sprintf("/var/local/sneps/D%03d.jpg", day)

	reddit, err := reddit.NewBotFromAgentFile("/var/local/sneps/reddit.agent", 0)
	reddit, err := reddit.NewBotFromAgentFile("/home/alex/.animal-bots/sneps/reddit.agent", 0)
	if err != nil {
		fmt.Println("Failed to create bot handle: ", err)
		os.Exit(1)


@@ 47,7 47,7 @@ func main() {
	mastoToken := new(madon.UserToken)
	var mastoId, mastoSecret string

	mf, err := os.Open("/var/local/sneps/masto.agent")
	mf, err := os.Open("/home/alex/.animal-bots/sneps/masto.agent")
	if err != nil {
		fmt.Println("Failed to open file: ", err)
		os.Exit(1)