Code Monkey home page Code Monkey logo

gguuse-streams's Introduction

gguuse-streams

Just a simple twitch chatbot that I'm writing for learning purposes.

Functionality

It has following basic commands:

  • help: shows all available commands.
  • setmessage:
    • Usage: !setmessage <command> <message> - updates command with message, if message is empty, deletes command.
  • newannouncement:
    • Usage: !newannouncement <id> <repetition_interval> <message> - updates id-announcement with message. Announcement repeats every repetition_interval minutes. id can be any combination of any symbols.
  • stopannouncement:
    • Usage: !stopannouncement <id> - stops announcement id.
  • title:
    • Usage: !title <new title> - sets stream title to new title.

Developer can predefine some commands right in code.
Commands created with setmessage stored in directory json_commands in files named <channel>_commands.json.
Announcements stored in directory json_announcements in files named <channel>_announcements.json.

gguuse-streams's People

Contributors

maxguuse avatar ivanseagull avatar

Stargazers

t26x0 avatar

Watchers

 avatar

Forkers

ivanseagull

gguuse-streams's Issues

Empy answers bug

Currently some commands return empty strings and because of that we get in logs "No such command: ".

Bug located in: privMsg.go:78 - privMsg.go:83

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.