Skip to content

Releases: BOLL7708/desbot

Refactoring before Node

14 Apr 07:45
Compare
Choose a tag to compare

Full Changelog: v8.0.2...v8.0.3

Refactoring

What, what is this update? Yeah it mostly contains moving files about. This should be the last version before I can start on the Node conversion, that is why this is a release. We'll see if that is actually true or not, but it should enable me to work on the conversion and also push fixes to the live branch as the folder structure is shared, in theory. It's an all new adventure!

Auth Storage & Redirect

12 Apr 19:44
Compare
Choose a tag to compare

Full Changelog: v8.0.1...v8.0.2

Auth

  • The password used is now stored in a unique slot per installation, as it uses the full path. It did this before too, but only used the top folder as a differentiator which now ends up being just php as all scripts are now in that folder. This does mean you will have to sign in again.
  • The redirect after a failed auth didn't redirect to the right document, it should now do that so you can sign in instead of ending up on a 404.

Other

  • The numbered scripts were acting up, so I removed the setlocal and endlocal as TSC was somehow breaking with that, only showing the command list, now the folder navigation is done manually.
  • Sidebar width is now also stored per installation.

Upgrade to a V8!

06 Apr 17:47
Compare
Choose a tag to compare

Full Changelog: v7.14.2...v8.0.1

V8

To see what to do to run this version, please see the previous release notes, it's only about moving and renaming a few folders.

Scripts

The ./scripts folder contains a few new scripts. If you have Node with NPM, git and 7-Zip installed, all scripts should in theory work.

  1. Install - Will install the TypeScript Compiler globally for Node, will install Node dependencies (not currently used), and build the project.
  2. Update - Will pull down changes from the currently checked out branch, update Node dependencies, and rebuild the project.
  3. Build - Will simply rebuild the project (including deleting the dist folder) without downloading any updates.

Then it's the old backup scripts that still do the same thing but have been updated to work with this folder structure.

Install

There's now no stupid screen telling you the DB has been initialized, it'll just initialize silently in the background the first time you run it.

Why?

As mentioned previously, this is just to make this a good jump off point. Basically, this is the folder and project structure I arrived at after weeks of experimenting with build setups. If I'm going to spend the next few months working on this, I want it to be easy to push fixes in a separate branch, which this will enable.

If people move to this release, the folder structure will match the other WIP stuff, so merging fixes in should be easy. It will just be better this way, and I saw it was a necessary step for this conversion, lest I'll go mad with how many stacked changes I would have to do at the same time.

First Preview of 8

01 Apr 18:40
Compare
Choose a tag to compare
First Preview of 8 Pre-release
Pre-release

Full Changelog: v7.14.2...v8.0.0-preview

Preview

Hello brave bot user! From now on we will post pre-release builds or previews of v8 which is the new version of the bot that will eventually run in a JavaScript runtime, like Node or Bun. This will be published on the develop branch, as a means to not make users pulling updates from the master branch join the preview by mistake.

Changes

The main changes for this version is that most files have moved and some have been renamed. This means if you are joining the preview you should clone this into a new location and copy files over from your current installation. The files that should be moved over are listed below.

Move/copy files from the root into _user and rename them.

  1. Database, from _db to _user/db
  2. Data, from _data to _user/data
  3. Backups, from _backups to _user/backups
  4. Assets, from _assets to _user/assets

Notes

  1. The setup has not been validated as working or not, so don't install this fresh, only use this preview version if you have an existing installation that you can migrate from by copying the files listed in the previous section.
  2. Backup scripts have not been updated yet, so they will most likely not do what you expect, meaning avoid using them just yet.
  3. File paths that start in _assets are automatically converted to work with the new location of assets, as a legacy support feature. The plan is for a database migration to update all these paths in the future when the migration system exists.
  4. All PHP scripts now reside in /php/*, so any links to the project will have to access the files there. The project still does not run in Node, but requires PHP to be hosted, and the root of the project is still the root that should be linked into an HTTP server like Apache.
  5. This version has only been tested offline, no live stream yet, but so far it appears functional at runtime. As mentioned above, some things haven't been tested yet, so this is not something for new users or in fact new installations.

Why?

In short, so I will be able to work on fixes in a version of the project where files are in a completely different place than before. This is pushed as a work-in-progress preview version for now, but will be promoted to a full release before the main conversion starts. This so the previous version of the bot can run with files in the same place as the new version so I can easily push fixes that can be merged across develop and master without much pain and suffering.

Fix Wildcard Assets

18 Mar 22:40
Compare
Choose a tag to compare

Fix

Assets should now not use invalid paths when a wildcard path is not matching anything.

Fix DB Init

12 Mar 21:33
Compare
Choose a tag to compare

Full Changelog: v7.14.0...v7.14.1

Fixes

  • The DB init on first run was broken, this will fix that, enjoy!
  • Added a file-exists filter to wildcard asset loading so it properly ignores non-files.

Discord Webhook Override

02 Mar 09:11
Compare
Choose a tag to compare

Full Changelog: v7.13.1...v7.14.0

Discord Webhook Override

If you don't want to spam your live Discord channels while setting things up or testing, you can now provide a separate webhook in the Discord config which will override all other webhooks, if enabled, relieving you from the cleanup you otherwise would need to do.

Fixes

  • The dropdown no longer filters on parent when saving an item that has a parent.

Other

  • Added a default import for a questions event, which will append a list of questions, as well as a command to clear it. The idea here is for it to be a tool for live podcasts or other shows that want to collect questions for a later segment in the stream.

Multi-Tier Revamp

25 Feb 16:57
Compare
Choose a tag to compare

Full Changelog: v7.13.0...v7.13.1

Multi-Tier Revamp

This is a small update that took a lot of testing, a good fixup for the multi-tier behavior for events in any case, enjoy!

  • Now works properly with no reward presets, actions are now not triggered past the max level
  • Fixed rewards not getting disabled or paused after reaching the max level.
  • Added pause and hide reward options for the disabling option.
  • Changed default values for the options to make more use out of the feature as a base.

Event Behavior Updates & System User Events

18 Feb 22:43
Compare
Choose a tag to compare

Full Changelog: v7.12.1...v7.13.0

Event Behaviors

  • In the editor only the associated behavior options will now be shown at any one time.
  • Incrementing and accumulating behaviors now will work even without reward presets.
  • Accumulating behavior will now use the first action set on first trigger.

System Events

  • Input matched events now support regex matching.
  • It is now possible to match events on users instead of input.

Tools

  • Added a development tool to override all Discord webhooks with a single URL, this is ONLY meant to be used for a debug installation of the bot where you want to use a copy of your existing database and redirect all Discord output to a debug channel instead of the actual channels.

Fixes

  • Fix event counter resets not working if there were no reward presets for the event.
  • Fix #14 by preventing save spamming.

Whisper No More

11 Feb 22:33
Compare
Choose a tag to compare

Whisper Commands

This feature is now turned off by default, as it can be confusing for users who don't know it exists.

Fix

Fixed missing undefined check in matched word events in the system action.