ignore message sent by bot self on slack channel
This commit is contained in:
2
main.go
2
main.go
@@ -14,6 +14,8 @@ func main() {
|
||||
tweetchannel := make(chan string, 1)
|
||||
d.BeginRead(tweetchannel)
|
||||
|
||||
d.Write("Tweetdistributor Started")
|
||||
|
||||
var outputs []output.OutputInterface
|
||||
outputs = append(outputs, output.TwitterOutput(os.Getenv("TW_ACCESS_TOKEN"), os.Getenv("TW_ACCESS_SECRET")))
|
||||
outputs = append(outputs, output.BlueskyOutput(os.Getenv("BSKY_IDENTIFIER"), os.Getenv("BSKY_PASSWORD")))
|
||||
|
||||
Reference in New Issue
Block a user