twitter-discord-bot

command module
v0.0.0-...-e7a08e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 12 Imported by: 0

README

twitter-discord-bot (Test Project)

About

Mini go script that automatically shares your tweets on Discord channel via webhook.

Usage

$ go run main.go -key=<Twitter Key> -secret=<Twitter Secret> -username=<Twitter Username> -displayName=<Webhook Display Name> -avatarUrl=<Webhook Avatar Url> -webhook=<Discord Webhook Url>

Automation

$ crontab -e

then define cron job rule

* * * * * go run main.go -key=<Twitter Key> -secret=<Twitter Secret> -username=<Twitter Username> -displayName=<Webhook Display Name> -avatarUrl=<Webhook Avatar Url> -webhook=<Discord Webhook Url> -dataFolder=/home/bot >> /home/log.txt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL