• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Skhmt/koalabot: Bot for Twitch made with node-webkit.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Skhmt/koalabot

开源软件地址:

https://github.com/Skhmt/koalabot

开源编程语言:

CSS 66.2%

开源软件介绍:

This will stop working completely by September 12 2019, if it still works at all. I do not have plans to update this project.

KoalaBot, a chat bot for Twitch

A complete rewrite is being worked on at: https://github.com/Skhmt/koalabot2

gpl

What is this?

It's a moderation bot for Twitch meant for roughly the same things as nightbot, moobot, ankhbot, deepbot, etc. This is and always will be free and open source. It runs off your desktop. I'm always open to feature requests, bug reports, and any constructive critique. Hit me up on Twitch or Twitter or Reddit.

Get the latest release for Windows and Mac OS X

Features / to-do list:

  • Chat window with emoticons and viewer list
  • !highlight / !ht command to tag a place for VOD editing later
  • Quote system
  • Custom commands
  • Timed messages
  • Spam control via link, word, caps, symbols
  • Viewer count graphs
  • Customizable !uptime command based on bot running time, stream uptime, or a custom set time
  • Chat logging
  • Hosts logging
  • Giveaways
  • Song requests
  • Follower logging
  • Sub notifications
  • Update backend to allow plugins
  • Loyalty points
  • OS X compatibility
  • API command for recent events (to allow server notifications)
  • Enable/Disable subscriber months text
  • Streamer song queue that's overridden by user song requests
  • Option to have song requests cost points
  • Save song lists
  • Add a user to points list even if that user is not in the chat
  • Add a "play" button to individual quotes and timed messages
  • More text file outputs
  • Put game and stream title in the window title
  • Reduce saving to every 30 seconds or so
  • Generic Module status tab + api command for module description
  • Documentation on how obs-integration works
  • Add "regular" rank (between viewer and sub)
  • Global hotkeys
  • Change mod requirements for commands
  • Cooldowns for commands
  • timed messages not playing if the stream isn't live
  • disable/enable timed messages
  • Top x (100?) users?
  • All users "filter" button for point list
  • Play songs instantly?
  • Add song playing to streamer queue
  • Move game/stream status to chat tab
  • Points requirement for raffles
  • Edit timed messages, commands, and quotes
  • User ranks
  • On first chat notification
  • Open/view old statistics (https://github.com/nwjs/nw.js/wiki/File-dialogs)

Commands:

Command Parameters Description
!bot n/a Links to this page.
!uptime n/a Configurable in the "Settings" tab to display either the bot uptime, the stream uptime, or the lap time.
!bottime n/a Shows the amount of time the bot has been open.
!streamtime n/a Shows the amount of time your stream has been going (if your stream disconnects, this resets).
!laptime n/a Shows the amount of time since you've hit the "lap" button.
!highlight (comments) Mod-only. Adds a time stamp to a log file (both local time and stream time) with the optional comments.
!ht Same as above.
!game [game name] Mod-only. Changes the game.
!status [stream status] Mod-only. Changes the stream status.
!permit [username] Mod-only. Allows the user to post links for 60 seconds.
!addcom (-ul=[mod/sub/streamer]) [!commandname] [text] Mod-only. Adds a command. The new command can be set to only be used by a certain user level. Using %1%, %2%, %3%, %4%, or %5% when creating a command will replace it with that parameter when the command is run. For example, "!addcom !tree %1% and %2% sitting in a tree" then "!tree wolfish indy" would output "wolfish and indie sitting in a tree". Use %from% to insert the username of the person that used the command.
!addcmd Same as above.
!delcom [!commandname] Mod-only. Deletes a command.
!delcmd Same as above.
!quote (id) Plays a random quote. If an id is given, it will attempt to play the quote with that id.
!addquote [quote author] [quote] Adds a quote.
!delquote [id] Mod-only. Deletes the quote with the given id.
!currentsong Returns the current song playing.
!skipsong Mod-only. Skips the currently playing song.
!volume [volume 0-100] Mod-only. Sets the song volume to this.
!mute Mod-only. Mutes/unmutes the song, does not change the volume level.
!songrequest [youtube id or youtube url] Adds a song to the queue.
!points Displays your points.

How to use:

  • For Windows: Run koalaBot.exe
  • For OS X: NWJS is no longer available from the app store, but is available at their website. Download the Koalabot osx .zip and unzip it into the same directory as nwjs.app. Run nwjs.app. OSX may prompt that the application is from an untrusted source. If that happens, go to settings > Security & Privacy > General, and set the "Allow Apps from Anywhere" option and launch the application. After launching for the first time, it would be a good idea to set the securtiy settings back to "App Store and Identified Developers".
  • Go to Settings > Bot Config
  • Click "Get Token"
  • If Windows pops up something about the firewall, click OK.
  • Log in to the Twitch account you want the bot to be
  • If you're using the bot on an account other than the one you stream on, make sure the bot is both a mod and an editor for your channel. To make the bot an editor, go to your Twitch Dashboard on your main account.

Making modules:

Modules are HTML5 + javascript (ES6) + jQuery (2.2.0) + Boostrap (3.3.6). See my example module for working example. To install it, save it as a .js file and place it in the \mods\ folder, then restart the bot. Also see the API for more details and some functionality not used in example.js. Share modules via JSFiddle or Gist.

Making themes:

Themes are just Bootstrap 3.3.6 .css files. Put them in the themes folder and restart the bot.

License:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 3.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Libs used:




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap