github PhantomBot/PhantomBot v3.2.0
PhantomBot v3.2.0

latest releases: v3.13.0.3, v3.13.0.2, v3.13.0.1...
3 years ago

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

✅ Added:
➡️ Added thumbnail to Discord embeds when posting clips (Superfraggle)
➡️ Added tag (title) to Twitch and Discord clip message strings (Superfraggle)
➡️ Added output in debug mode for when an HTTP or WS auth fails (gmt2001)
➡️ Added some debugging output to assist with resolving other issues (gmt2001)
➡️ Added auto-redirect when attempting to connect to non-SSL HTTP or WS while SSL is enabled ( gmt2001)
➡️ Added an auto-redirect when attempting to use an authenticated request to /, pointing to /dbquery (gmt2001)
➡️ Added event.getMessage() to twitchSubscriber and twitchReSubscriber hooks (gmt2001)
➡️ Added a proper login page for the panel/yt player (gmt2001)
➡️ Added option to use fake usernames when adding a quote (jaredkotoff)
➡️ Added ability to use (gameonly=) tags in timers/notices (jaredkotoff)
➡️ Added a toggle for deleting stream online/offline messages in Discord (robsdedude)
➡️ Added the tag (1|whatever) which will be replaced with argument #1. If argument #1 is not supplied, the freeform text whatever is placed instead. Works with argument #’s 1 to 9 (gmt2001)
➡️ Added (alert) and (playsound) tag support to bits, clip, donation, follow, host, raid, streamElements, subscribe, and tipeeeStream handlers (gmt2001)
➡️ Added support for Twitch Channel Points redemptions (gmt2001)
➡️ Added ability to pull Client ID, Login Name, and User ID from a validated token via TwitchValidate (gmt2001)
➡️ Added automatic Self-Signed certificates, enabled by default, for the panel (gmt2001)

🌀 Changed:
➡️ Added parameter tags to $.permCom, allowing it to use $.isModv3 and $.isSubv3 to detect mods/subs properly ($.permcom(username, command, subcommand, tags)) (gmt2001)
➡️ Blocked non-ASCII characters in botlogin.txt by default (gmt2001)
➡️ Updated Dockerfile base images to support multiarch building (gmt2001)
➡️ When a JavaException occurs in a JS script, the stacktrace will be logged to the error log (gmt2001)
➡️ Changed the tag (1=command) which is replaced with argument #1 (or the output of the specified command, if argument #1 is not provided) to also work with argument #’s 2 to 9 (gmt2001)
➡️ PubSub will now run if you have the required scope(s) in the chat oauth, even if mod logs are disabled (gmt2001)
➡️ TwitchHelix will now send a Client ID, pulled automatically from the API OAuth token (gmt2001)
➡️ TwitchAPIv5 now uses Client IDs selected in this order: Provided by botlogin.txt, pulled from provided API OAuth, default PhantomBot Client ID (gmt2001)

🛠️ Fixed:
➡️ Fixed bot possibly losing moderator power (ScaniaTV)
➡️ Fixed readauth tokens not authenticating on the API (Fixes audio browser source and yt playlist) (gmt2001)
➡️ Fixed some exceptions related to updating $.users (gmt2001)
➡️ Fixed permission checks ($.permCom) to have the proper return based on the requested permission level of the command (gmt2001)
➡️ Fixed Cannot call property length in object when using !tokencom (Superfraggle)
➡️ Fixed Discord silent NullPointerException on certain events, like MemberJoin (gmt2001)
➡️ Fixed $.isVIP(username, tags) throwing an NPE (Bodymenn)
➡️ Fixed some instances of Discord event processing hanging (gmt2001)
➡️ Fixed an NPE on the WebSocket server, which was causing some of the web pages to not work (gmt2001)
➡️ Fixed YT Player WebSocket possibly closing due to inactivity (jksessions)
➡️ Fixed some possible loopholes in the links whitelist (robsdedude)
➡️ Fixed DiscordChannelJoinEvent and DiscordChannelPartEvent not firing (gmt2001)
➡️ Fixed SQLite UNIQUE constraint violation when creating indexes (gmt2001)
➡️ Fixed Discord bulk message delete (gnt2001)
➡️ Fixed error replied with Discord moderation cleanup command (robsdedude)
➡️ Fixed possible infinite loop on string replacement (gmt2001)
➡️ Fixed some issues with Discord.addRole (gmt2001)
➡️ Fixed output for Discord Account Link success message (Piggered)
➡️ Fixed various Discord settings commands not handling #ChannelName auto resolves, causing the dependant features to fail (gmt2001)

🛑 Removed:
➡️ Nothing Removed!

🌐 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 now available on Docker at gmt2001/phantombot-stable and gmt2001/phantombot-nightly. See the readme text on the appropriate pages for Docker Compose files

🗒️ Notes:
➡️ Due to security upgrades by Discord, users must enable the Server Members Intent and Presence Intent toggles on the Discord Developer Portal > Bot App > Bot page for MemberJoin and MemberPart events to fire, and for anything looking up a member (such as setrole) to work
➡️ Due to changes with Twitch’s Embeds API, the embedded Live Stream and Chat panels in the PhantomBot web panel will no longer work unless SSL is enabled for the web panel.

❕ Twitch’s use of Content Security Policy: frame-ancestors does not support the port number in the URL.

❕ I have setup a new copy of the panel at PhantomBot - github.io which allows everything to work, but you still need SSL on the bot due to Cross-Origin Resource Sharing security rules.
❕ This version will, however, allow self-signed certificates, as long as you first visit your bots built-in copy of the panel and then tell your browser to trust the certificate.
❕ This version still direct-connects to the bot for all processing and login stuff, so your credentials and sensitive data will never get sent to anyone but your bot.
➡️ To allow non-ASCII characters in botlogin.txt, add a line that reads allownonascii=true
➡️ Putting the login credentials into the URL for Basic auth still works on supported browsers
➡️ To use the Twitch Channel Points feature, and continue using the PubSub Moderation Feed, the API OAuth (Broadcaster) must be regenerated with new permissions: PhantomBot - github.io

Don't miss a new PhantomBot release

NewReleases is sending notifications on new releases.