Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.12 KB

build release

kombu-area-bot

A simple bot for mastodon. This bot toot to followers when gachi splat_zones will hold at コンブトラック(kombu).

Usage

  • get new ClientID and ClientSecret

    % env MASTODONSERVER=XXX MASTODONAPPWEBSITE=XXX go run main.go

  • and then run

    % env USERAGENT=XXX MASTODONSERVER=XXX MASTODONCLIENTID=XXX MASTODONCLIENTSECRET=XXX MASTODONAPPYOUREMAIL=XXX MASTODONAPPYOURPASSWORD=XXX go run main.go

  • Regist binary to crontab

environments

  • "USERAGENT"
  • "MASTODONSERVER"
  • "MASTODONAPPWEBSITE"
  • "TOOTHOUR"
  • "TOOTMIN"
  • "TOOTTOTAL"
  • "MASTODONCLIENTID"
  • "MASTODONCLIENTSECRET"
  • "MASTODONAPPYOUREMAIL"
  • "MASTODONAPPYOURPASSWORD"

Notice

This Bot uses Spla2API. You need to set UserAgent which contains program name and your contacts info (default is this repo).