aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-09-22 16:44:28 -0600
committernytpu <alex@nytpu.com>2021-09-22 16:44:28 -0600
commit6dc7186ec20a07da1665cf8c2b256bb76f35564d (patch)
tree86a8b8f358789eab02a8e4170f343b39f62aebaf
parentfox bug in randomize-images (diff)
downloadcheetah-bot-6dc7186ec20a07da1665cf8c2b256bb76f35564d.tar.bz2
cheetah-bot-6dc7186ec20a07da1665cf8c2b256bb76f35564d.zip
update agent namesHEADmaster
-rw-r--r--.gitignore4
-rw-r--r--cheetah-bot.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 105ebe3..e1b2901 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-cheetah-reddit.agent
-cheetah-masto.agent
+reddit.agent
+masto.agent
day.txt
cheetah-bot
diff --git a/cheetah-bot.go b/cheetah-bot.go
index f214f08..e0cd22d 100644
--- a/cheetah-bot.go
+++ b/cheetah-bot.go
@@ -46,7 +46,7 @@ func main() {
os.Exit(1)
}
- reddit, err := reddit.NewBotFromAgentFile("/var/local/cheetahs/cheetah-reddit.agent", 0)
+ reddit, err := reddit.NewBotFromAgentFile("/var/local/cheetahs/reddit.agent", 0)
if err != nil {
fmt.Println("Failed to create bot handle: ", err)
os.Exit(1)
@@ -55,7 +55,7 @@ func main() {
mastoToken := new(madon.UserToken)
var mastoId, mastoSecret string
- mf, err := os.Open("/var/local/cheetahs/cheetah-masto.agent")
+ mf, err := os.Open("/var/local/cheetahs/masto.agent")
if err != nil {
fmt.Println("Failed to open file: ", err)
os.Exit(1)