command
module
Version:
v0.0.0-...-e7a08e1
Opens a new window with list of versions in this module.
Published: Feb 14, 2021
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.