poundbot

module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT

README

Requirements:

mongodb, a rust server, and PoundbotConnector.cs plugin.

To run:

go run poundbot.go

Config can be in the following locations:

/etc/poundbot/config.json
~/.poundbot/config.json
config.json

Sample Config

{
    "twitter": {
        "userid": <twitter user id from http://gettwitterid.com/>,
        "filters": [
            "#almupdate"
        ],
        "consumer": {
            "key": "KEY",
            "secret": "SECRET"
        },
        "access": {
            "token": "TOKEN",
            "secret": "SECRET"
        }
    },
    "discord": {
        "channels": {
            "link": "CHANID1 (right click on discord client channel to obtain IDs)",
            "status": "CHANID2",
            "bot": "CHANID3",
            "general": "CHANID4"
        },
        "token": "bot token"
    },
    "rust": {
        "server": {
            "hostname": "rust.example.com",
            "port": 28015
        }
    }
}

Directories

Path Synopsis
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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