titlebot

command module
v0.0.0-...-3fdeec3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 17 Imported by: 0

README

titlebot

titlebot is a simple IRC bot that:

  1. Automatically extracts and sends the titles of webpages posted in your channel
  2. Automatically downloads and reads tweets linked in your channel
  3. Demonstrates some of the IRCv3 support provided by ergochat/irc-go

It is configured using environment variables:

# required:
export TITLEBOT_NICK=titlebot
export TITLEBOT_SERVER="testnet.oragono.io:6697"
export TITLEBOT_CHANNELS="#chat"

# optional:
# this is the account of the bot's owner, to be checked against account-tag:
export TITLEBOT_OWNER_ACCOUNT="shivaram"
# SASL credentials:
#export TITLEBOT_SASL_LOGIN=titlebot
#export TITLEBOT_SASL_PASSWORD=lLRpGzfro1sIFwZZ4kNdpA
# Twitter API bearer token, v2-capable:
export TITLEBOT_TWITTER_BEARER_TOKEN=AAAAAAAAAAAAAAAAAAAAA1AqIi4cLk9SEH6YadRSwwhul6X_a_C6i63ZM3mKFVwoJXxJji1KN0VXCN_rajcX8k4rX4Q-GIbVJ1NVfCA7208
# quit message:
export TITLEBOT_VERSION="titlebot-v0.0.1-alpha-dont-deploy"

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