github PhantomBot/PhantomBot v3.6.2.6
PhantomBot v3.6.2.6

latest releases: v3.14.1.1, v3.14.1.0, v3.14.0.6...
2 years ago

📢 PhantomBot v3.6.2.6 is now available as a stable build

 

Added:
➡️ Added the improvements from Ticket Raffle, such as allowing for loyalty points rewards and the ability to draw multiple winners at once, into Regular Raffle (Sartharon #2753)
➡️ Added a fallback to Java String.contains() when regex.test() throws an exception (gmt2001 rb#2298 rb#2303)
➡️ Added tasks to run VACUUM on SQLite databases on startup, shutdown, and every 3 hours to prevent the WAL from growing to an excessive size (gmt2001)
➡️ Added the commands !module reload all and !module reload ./path/to/script.js which forces either all scripts or the specified script, respectively, to be reloaded (Sartharon #2797)

🌀 Changed:
➡️ Changed HttpClient to only attempt to decode JSON if the response body starts with { (gmt2001)
➡️ Changed exceptions coming from JavaScript to include the full script path to the .js file relative to the bot installation when possible (gmt2001)
➡️ Changed the JS Timers (SetTimeout/SetInterval) to use a new timer system that is more efficient on threads (gmt2001)
➡️ Changed the first run process to no longer require the Chat OAuth and to start requiring the Panel User and Panel Password, so that automatically refreshing OAuth tokens can be used for setup instead (gmt2001)

🛠️ Fixed:
➡️ Fixed commands with explicit cooldown of (-1, -1) not falling back to global cooldown (gmt2001)
➡️ Fixed URIs with normally invalid characters not being URL encoded and throwing a URISyntaxException (gmt2001 rb#2306)
➡️ Fixed HttpClientResponse.hasJSON() potentially returning true if an exception other than JSONException was thrown (gmt2001)
➡️ Fixed a NullPointerException in HttpClient due to a null response status code being used when another exception was thrown (gmt2001)
➡️ Fixed Logger and PathValidator failing unexpectedly when trying to use paths that contained a symlink (gmt2001 rb#2302)
➡️ Fixed TypeError cannot read property from undefined in set() when the cooldown script doesn't have a tracker object for some commands (gmt2001 rb#2299)
➡️ Fixed an IllegalArgumentException when attempting to remove a go-live message from Discord whose object is no longer valid (gmt2001 rb#2307)
➡️ Fixed an IllegalStateException when attempting to create multiple timers with the same spec (gmt2001 rb#2304 rb#2305)
➡️ Fixed an issue where followHandler could attempt to announce a null follower (gmt2001 rb#2297)
➡️ Fixed an issue where the Logger could get into an infinite loop if an IOException was encountered while attempting to write a log (gmt2001)
➡️ Fixed PhantomBot not starting the proper shutdown procedure when docker stop was used to shutdown the container (gmt2001)
➡️ Fixed an issue where when the bots Chat OAuth token was updated, the Bearer authentication for the bot API wasn't also updated (gmt2001)
➡️ Fixed the PID file not being generated on Linux when running in daemon mode (gmt2001)

🗑️ Deprecated:
➡️ com.gmt2001.HttpRequest is Deprecated and should not be used for new development. com.gmt2001.httpclient.HttpClient should be used instead

🛑 Removed:
➡️ Nothing Removed

🐞 Known Issues:
➡️ Due to the new Twitter API V2 not having some endpoints equivalent to the older V1 endpoints, some queries may use bot-side filtering, which could lead to the bot missing tweets if the target user sends/receives a high volume. This mostly affects retweet and mention detection
➡️ Autocomplete may still not work on some browsers when using the bot via localhost

🌐 Download It:
➡️ Downloads attached to the bottom of this release notice

❗ Remember to install to a separate folder, then copy over the config dir, as well as any custom scripts or files in addons

➡️ PhantomBot official builds are available on GitHub Container Registry at ghcr.io/phantombot/phantombot and ghcr.io/phantombot/nightly-build

➡️ PhantomBot official builds are available on DockerHub at gmt2001/phantombot-stable and gmt2001/phantombot-nightly. See the readme text on the appropriate Docker Hub pages for Docker Compose files

🗒️ Notes:
➡️ We have guides on PhantomBot. You can contribute by submitting a Pull Request adding or editing .md files in the /docs/guides/content folder of the repo. See the guides for info about formatting.

➡️ $.inidb.executeSql is designed for personal, custom script use where the DataStore backend being used is known and will not change. Issues can, and will, occur if the SQL is written for one DataStore backend and the statement is then executed on a different backend.

Don't miss a new PhantomBot release

NewReleases is sending notifications on new releases.