GithubHelp home page GithubHelp logo

jasonnor / annoying-doge-bot Goto Github PK

View Code? Open in Web Editor NEW
9.0 6.0 0.0 296 KB

๐Ÿ• A Rocket.Chat bot that randomly reads conversations to send annoying memes.

License: Apache License 2.0

Go 100.00%
chatbot golang rocketchat memes go doge

annoying-doge-bot's Introduction

Annoying Doge Bot

License

A Rocket.Chat bot that randomly reads conversations to send annoying memes.

example-1

example-2

Getting Started

Configuration

Edit config/setting.yaml to configure project.

Required

  • rocket_chat
    • url - URL of your Rocket Chat site
    • user_name - Username of bot to send messages, could be a normal user
    • password - Password of above user
  • chat_bot
    • display_name - Name of chatbot display in Rocket Chat
    • avatar_url - Avatar image URL of chatbot display in Rocket Chat
    • target_channels - List of channels name to monitor and send messages
  • google_search
    • url - URL of Google Custom Search JSON API, would be one of the following:
      • https://www.googleapis.com/customsearch/v1 for normal API
      • https://www.googleapis.com/customsearch/v1/siterestrict for restricted API
    • cx - Programmable Search Engine ID, see document here for more information
    • api_key - API key of application, see document here for more information

Optional

  • chat_bot
    • alternative_rules - Replace messages to alternative value to search meme if messages contain key
    • pattern_matching - Reply message value to target if messages contain pattern key
  • watch_dog
    • time_interval_sec - Interval time of monitoring channel messages
    • time_limit_sec - Service life, end service if reach time limit

Starting service

go build cmd/annoying-doge/main.go

# Linux or macOS
./main

# Windows
main.exe

Features

WIP

annoying-doge-bot's People

Contributors

goan15910 avatar jasonnor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

annoying-doge-bot's Issues

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.