Giter Club home page Giter Club logo

modlogs's Introduction

ModLogs

A bot used to post twitch mod actions into a discord channel.

Using the global version

  1. Go to the website https://modlogs.komodohype.dev and add the bot to your discord.
  2. Ask your streamer to go to the website https://modlogs.komodohype.dev/login and copy the command that it returns and patse it your discord channel.
  3. You can have a maximum of 10 hooks per discord. If you need more you can dm me on discord Troy#0003

If you find any questions, feature requests, bugs, issues or an error is thrown, please make an issue here.

Commands

Admin Commands

  • /add token minimal? channel? -> Adds a new hook binding for mod logs to the current channel or the channel specified.

  • /delete streamerID/streamerName channel? -> Removed the hook for that channel.

  • /list channel? -> Lists the current hooks for either the guild or the specified channel.

  • /ignore accountName/accountID -> Ignores a user useful for bot.

  • /unignore accountName/accountID -> Unignores a user.

  • /ignored -> Shows all ignored users

Other Commands

  • /link -> Displays invite links.

Screenshots

image image

Running it yourself.

  1. Install golang
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
  1. Clone the repo
cd /opt/
git clone https://github.com/troydota/modlogs.git
cd modlogs
  1. Build the source
go build
  1. Modify the config.
cp config.demo.yaml config.yaml && vim config.yaml
  1. Run the bot with rebuild commands flag once. Once you see the application started message you can stop it and run it in the system service.
./modlogs --rebuild_commands
# for more info on all the flags
./moglogs --help
  1. Setup auto run with systemboot.
sudo cp modlogs.service /etc/systemd/system && sudo systemctl start modlogs && sudo systemctl enable modlogs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.