Trotbot Redux: Extensible API

Semi-free Trotbot Redux: Extensible API v1.1.9.32 Console

Hello again,

So short a time has passed yet there are more developments. Future uploads of the versions provided here on the forums will have the vanilla plugins removed from them. In order to continue using the vanilla plugins that have been provided so far, try here for past versions of both the vanilla plugins and the GUI.

The console version has been brought up to speed and contains the reconnect fix so that it may be feasible to run on a server reliably without much maintenance.

The GUI has been removed from this release and for the foreseeable future of this program the console will take over as the free API alternative.

Here is a walk through for programming a plugin--featuring making a quotes-themed one.

Sincerely,
700hours
Hello,

Since last update there have been two new vanilla plugins added. These will be included in the next free release posted here (this information is deprecated) have already been included in the package managed by the software distributor.

The updates are as follows:
##1.1.9.30
- Added reconnect function when both GUI and Console disconnect
- Added new vanilla plugin called "Libs"
- Recompiled some plugins to use .NET Core
##1.1.8.28 patch
- Added the Timed Messages vanilla plugin
- Updated plugin dependencies
##1.1.8.26 hotfix
- Fixed user commands plugin not saving command data
- Brought the console version up to current changes
- Added updated commands plugin to console version

The latest vanilla plugin, Libs, is a take on the popular word game where players place nouns, verbs, adjectives and so in the designated places. It was designed to show off complex string managing.

lib_chat_optimized.gif


Sincerely,
700hours
Hello,

This marks another update to the API, though minor. It fixes the user color information grab in the UserJoin event as well as adding a UserLeave event.

To the vanilla functions, there has been a user list that gets proactively updated and keeps track of users alphabetically. There is also a search that runs through all the users upon text entering.

Another vanilla function to get an update is the chat logger. Now chat messages can be sent through the text box below the logger itself within the same window.

This is the updated look of the program:
tbr-1.1.png


The free version is still being considered and planned.

Sincerely,
700hours
Hi,

In the time since the last version was released and the latest news on this new update, there have been some improvements to the chat logger and a few QoL changes as well.

This is what the setup looks like now:
v1.0.7.18.png


The gist of it, the change log, is as follows:
  • Changelog v1.0.7.18
    - Modified user name colors to be accurate versus just black of white
    - Partial implementation of chat badge icons
    - IRC function now grabs and parses all Twitch information from chat messages
    - Chat logger saves window dimension on close and reloads it accurately
    -> Can be modified directly through config file upon next window open
    - Program correctly shuts down upon main window closure
For those who wish to continue using the free edition, there will be a new release that will fix some of the errors in that version. What is the point of having that version when there are some potential bugs that crash the program, right?

Until next time,
700hours
Hey OBS community,

While programming for users has been worthwhile as of late, this particular program is getting more attention from myself than expected.

Further support will now be given through a distributor, while the version here on the OBS community forums will remain free.

Support is greatly appreciated.
Software Distributor Webpage

Sincerely,
700hours
Re-versioning Update
An IRC-based chat bot API for connecting to `Twitch.tv`s chat room services. The API is grounded in the C# programming language which means a basic level of the programming language is necessary for creating your own plugins. The base program includes three vanilla plugins which can be modified at will to get started: BasicCommands, lab, and OnLoad (internal name: Plugins).

There contains two forms of function: a GUI which contains a chat logger with basic colors for color-keying out the background as well as font selection acquired from the Windows fonts directory. Then a console version which enables direct input into the stream feed. Both versions contain at least a basic function for viewing a console that portrays all the messages coming through the network, e.g. which users have joined or left.

Disabling plugins takes the action of removing it from its root folder. Furthermore there is a crude method for compiling code into plugins using a C# v5 compiler which is directed toward within the `compile.cmd` file located within. README files explain the remainder of the information necessary for the function of the included programs.

Why this?
IRC Network API -- An API already plugged into the IRC networking code with programmed events for each basic process a chat message goes through.

Change log
  • Plugins now are fitted for the GUI version.
  • Changing plugins back to fitted for console requires changing the assembly back to the twitchbot.dll instead of the CoreWPF.dll.
  • GUI properly loads plugins and reports their titles and version upon successful bot login.
Hello,

This update is for fixing the GUI chat auto scrolling from stationary when text scrolls beyond the window size to scrolling to the latest chat message. Do note this will mean cropping the vertical scroll bar may be necessary.

Regards,
700hours
Hello,

This update is simply to patch out a bug where the chat log would not properly line break. An addition to this is that now usernames are in bold typeface.
Hello forum members,

This version underwent a change when I realized that I could not easily add a plugin that used a GUI. In this case, I desired to add a chat logger. Since this seemed farfetched, I simply reformatted the code for this feature to work, and added a little functionality such as font family changing and the like.

It is not currently as robust as other alternatives--it does not have icons for subs or moderators--though it stands as a basic chat logger for now.

The future of this project may involve me adding a few more plugins into another release when it comes time to improve usability and QoL.

The console and GUI versions are contained in their own directories.

trotbot_twitchbot.png


Sincerely,
700hours
Information
This version includes a fix to crashes upon bot start when no program arguments are present. Along with this:
  • Adds proper disposal of plugins upon bot exit
  • Compile of live code feature added
  • Reload " "
Also included is three plugin's source code and the "lab" plugin, otherwise known as the chat maze minigame.
Top