Fixes and features from 14.6.0
Bug Fixes
Features
- alert - alert media should be nullable (#4953), Fixes #4951 (c3fd9be0)
- backup - properly exit process on end (78146d21)
- calls - fix incorrect invalid oauth check (d30b5719)
- commons - add forbidReply on parserReply (164fda16)
- currency - change to https (4e39c21a)
- currency - retry fetch should be adding minute every fail (27a6fb2e)
- customcommands - notice permission if no response is applicable (6b5516a8)
- emotes - check potential emote codes and don't load full emote cache (d73274e7)
- emotescombo - check potential emote codes and don't load full emote cache (1106dfb7)
- emotescombo - forbid reply on hype messge (f9b4ab96)
- emotescombo - reset combos on stream start (445fa34c)
- events - fix host and raid events incorrect variable check (0fa350b7)
- events - fix incorrect operation variable (e45ce390)
- events - propagate correct current viewers value (08f7a95a)
- eventsub - trigger follow event with user login (f3f0afeb)
- follow - trigger event only if follow is max hour old (cbc9865e)
- general - show correct auth info in !_debug, Fixes #4919 (2aef2cc3)
- getChannelSubscribers - fix for checking broadcasterType (cbb6a929)
- getChannelSubscribers - namely check if user is affiliate or partner (bcdbbbfb)
- getLatest100Followers - fix incorrectly applied values from rest call (bfe2e3c4)
- highlights - fix error if all videos are expired (5772b310)
- isFollowerUpdate - remove unnecessary condition (3ed2ecc5)
- isFollowerUpdate - trigger follow event only if user was not follower (57756d2b)
- message - check if channel is defined before sending message (fb5e7a45)
- migration - fix postgres incorrect migration arguments (0ef95d6a)
- moderation - use getCommand to get spotify sr command (6ab13d3b)
- processFollowerState - remove followedAt check from db (8dcd2952)
- pubsub - control pubsub connection by access token changes (04e51a40)
- pubsub - reduce spam of pubsub when access token is changed, Fixes #4912 (f1143a90)
- randomizer - update randomizer to use new tts code (f2d285a7)
- refresh - retry without limit on etimedout, Fixes #4960 (81f28872)
- runScript - minify code before running (e09f1cca)
- runScript - properly beautify script before adding opCounter (4d5ce18a)
- runScript - remove loading full user set on script run (#4911), Fixes #4910 (56ed326c)
- runScript - use stripped script to remove comments, Fixes #4907 (5a5b3159)
- services - set correct twitch emotes nsp (29e7c1f7)
- socket - add error message (3a554fd6)
- spotify - remove getMe call causing infinite loop (e6fa0c44)
- twitch - add msg-id to action message, Fixes #4927 (25b68cf5)
- twitch - add validate to CustomAuthProvider, Fixes #4923 (e915a264)
- twitch - check if both tokens are valid on init (376eeec9)
- twitch - create markers only if stream online (34550aa3)
- twitch - refresh token if invalid on call (5d010596)
- twitch - remove fullscale follower load (f12ca712)
- twitch - remove usage of channelId and use broadcasterId (ba612d26)
- twitch - slow down validation to be able to pick up changes (a4426040)
- updater - remove changelog fetch (d2168bd5)
- userinfo - save username with !age command, Fixes discord#933687112073633812 (5779d425)
- users - set ISO dates for date attributes (#4956) (d93b5d76)
- validate - add data validation and log error if invalid data, Fixes #4943 (d00e8a64)
- validate - properly check refresh token value and log message if empty (cb2b8093)
- alerts - add loopable videos (c9fa9944)
- alerts - add ttsTemplate customization (#4925), Fixes #4915 (5db324ae)
- alerts - add ttsTemplate to all types (#4954) (e06b6f1b)
- alerts - use gallery for alerts media (#4955), Fixes #4952 (909f4211)
- discord - add !_debug command (c88483eb)
- emotes - add fall type (17aa429b)
- events - merge clips creation events to single event (#4928), Fixes #4926 (27cb572e)
- overlay - add new presets (#4937) (769fb45b)
- panel - add toggle for public page (555cba0a)
- queue - add optional join message (#4939), Fixes community#330 (1ebd398c)
- text - add presets for text overlay (#4934) (26f67c56)
- twitch - add $uptime variable (aaffdd3b)
- twitch - add CustomAuthProvider to automatically update accessToken, Fixes #4920 (1bbc82f6)
- twitch - add create !clip command (9e12eb67)
- twitch - create marker on event, Fixes #4916 (3673c3b2)
- log insufficient permission errors dea177e5)
Bug Fixes
Features
- docs - update incorrect links to docs (0becc876)
- eventsub - change socket namespace (46939769)
- interface - remove service from enable logging, Fixes #4902 (219e7d13)
- quickAction - run alias and custom commands on command trigger (#4905), Fixes #4904 (efae7a6b)
- twitch - remove reduntant self check on whispers (#4896) (09219d2f)
14.5.2
Bug Fixes
14.5.0 - 14.5.1
- createClip - add missing clip check save to db (b6692aa9)
- twitch - send channel to correct channel with /me mode (#4894) (cdec4947)
Bug Fixes
Features
- getBannedEvents - exclude expiration time from unban, Fixes discord#913846726958391366 (0001ed93)
- locales - update link to set up channel (0039f109)
- moderation - send status after autoban parser check (69084b79)
14.4.1
Bug Fixes
14.4.0
- chat - change username to channel (f5841260)
Bug Fixes
Features
- getBannedEvents - skip expire date if action is ban (a52d4fea)
- message - strip username if bot or reply, Fixes #4885 (bf3c9006)
- migration - remove incorrectly added array values (ad9b47a8)
- twitch - populate broadcasterType with correct data (4e3f2a1b)
- vm2 - replace safe-eval with vm2 (dfe19236)
- eventsub - add channel polls listeners (8193a0b9)
- users - add first time message event and filters, Fixes community#324 (9895f87d)
Bug Fixes
Features
- getBannedEvents - skip expire date if action is ban (a52d4fea)
- message - strip username if bot or reply, Fixes #4885 (bf3c9006)
- migration - remove incorrectly added array values (ad9b47a8)
- twitch - populate broadcasterType with correct data (4e3f2a1b)
- vm2 - replace safe-eval with vm2 (dfe19236)
- eventsub - add channel polls listeners (8193a0b9)
- users - add first time message event and filters, Fixes community#324 (9895f87d)
4.0.5
Bug Fixes
14.0.0 - 14.0.4
- oauth - update variable name (8a52b27c)
BREAKING CHANGES
Bug Fixes
- replace !alert with !media
- change underlying twitch chat library to twurple
- NodeJS prerequisite change to v16.x
- Twitch Token Generator was removed from bot, please consider to create own Twitch App or redo your tokens with Sogebot Token Generator
Features
- api - block api after validation (ba510a1c)
- api - call api after initial validation (eb3db344)
- chat - refresh token on authentication failure (61df0d41)
- commons - parserReply should reply message if sendAsReply enabled, Fixes #4858 (675ad636)
- commons - properly pass sender object (1d07973f)
- discord - update discord-js to 13.2.0 (#4780) (ec87309a)
- events - add missing variables to filter eval (5ef86e0d)
- eventsub - add stack error if callback test fail (83906ea0)
- fetchAccountAge - set proper created_at with helix (ac5d4b31)
- fetchAccountAge - use helix endpoint (190ba4e1)
- fix(media) replace !alert with !media e059f4ab)
- fix(media) replace !alert with !media 583a9037)
- message - exclude sender from cloneDeep (c01ac364)
- microservices - save user with userName (d793ef12)
- oauth - add throtling and max request count per token (b395ab7d)
- oauth - assume valid token after refresh (7baa4953)
- oauth - expose clientId and force validation on token change (255dcdfc)
- oauth - invalid tokens should not be removed (7ccedb63)
- oauth - properly validate broadcaster token before api call (0ce9218c)
- oauth - properly wait for initial validation (147c8d4d)
- oauth - refresh token 5 minutes before expiration (a8c75291)
- oauth - refresh token if validate thows 401 (3d88ecf1)
- oauth - remove Twitch Token Generator (b2c8acf3)
- oauth - remove validation after token refresh (2e1f631a)
- oauth - send data with token refresh and trim tokens (93787ba1)
- oauth - wait for bot token validation before getting channelId, Fixes #4859 (3913086c)
- parser - whisper permission denies (f9268cfa)
- sendMessage - split message every 470 chars, Fixes community#314 (894c2e76)
- setTags - use broadcaster token (992e29e7)
- setTitleAndGame - remove kraken workaround for game change (9a786c4c)
- tmi - wait for initial token validation (c932658f)
- alias - add groups with permissions and filters (#4857), Fixes #4825 (9b054bc2)
- customcommands - add group filters and permissions (#4862), Fixes #4855 (b772eb6e)
- keywords - add group filters and permissions (#4864) (463cc13c)
- oauth - add SogeBot Token Generator support (dd3228e6)
- oauth - add custom token service (#4848), Fixes #3134 (4f293804)
- randomizer - add tape type (#4836), Fixes community#129 (6e6c07d2)
- spotify - add allowed artists (#4835), Fixes #4010 (80b2f2cc)
- tmi - allow to send bot messages as replies (#4852), Fixes #2584 (e7d1e647)
BREAKING CHANGES
Bug Fixes
- replace !alert with !media
- change underlying twitch chat library to twurple
- NodeJS prerequisite change to v16.x
Features
- api - block api after validation (ba510a1c)
- api - call api after initial validation (eb3db344)
- chat - refresh token on authentication failure (61df0d41)
- commons - parserReply should reply message if sendAsReply enabled, Fixes #4858 (675ad636)
- commons - properly pass sender object (1d07973f)
- discord - update discord-js to 13.2.0 (#4780) (ec87309a)
- events - add missing variables to filter eval (5ef86e0d)
- eventsub - add stack error if callback test fail (83906ea0)
- fetchAccountAge - set proper created_at with helix (ac5d4b31)
- fetchAccountAge - use helix endpoint (190ba4e1)
- media - replace !alert with !media (e059f4ab)
- message - exclude sender from cloneDeep (c01ac364)
- microservices - save user with userName (d793ef12)
- oauth - assume valid token after refresh (7baa4953)
- oauth - expose clientId and force validation on token change (255dcdfc)
- oauth - invalid tokens should not be removed (7ccedb63)
- oauth - properly validate broadcaster token before api call (0ce9218c)
- oauth - properly wait for initial validation (147c8d4d)
- oauth - refresh token 5 minutes before expiration (a8c75291)
- oauth - refresh token if validate thows 401 (3d88ecf1)
- oauth - remove validation after token refresh (2e1f631a)
- oauth - wait for bot token validation before getting channelId, Fixes #4859 (3913086c)
- parser - whisper permission denies (f9268cfa)
- sendMessage - split message every 470 chars, Fixes community#314 (894c2e76)
- setTags - use broadcaster token (992e29e7)
- setTitleAndGame - remove kraken workaround for game change (9a786c4c)
- tmi - wait for initial token validation (c932658f)
- alias - add groups with permissions and filters (#4857), Fixes #4825 (9b054bc2)
- customcommands - add group filters and permissions (#4862), Fixes #4855 (b772eb6e)
- keywords - add group filters and permissions (#4864) (463cc13c)
- oauth - add SogeBot Token Generator support (dd3228e6)
- oauth - add custom token service (#4848), Fixes #3134 (4f293804)
- randomizer - add tape type (#4836), Fixes community#129 (6e6c07d2)
- spotify - add allowed artists (#4835), Fixes #4010 (80b2f2cc)
- tmi - allow to send bot messages as replies (#4852), Fixes #2584 (e7d1e647)