Skip to content

Commit

Permalink
0.5.5
Browse files Browse the repository at this point in the history
wrap up PR (1 major change)
1 minor change
2 error modifications
  • Loading branch information
krynen committed Jun 24, 2021
1 parent 75d5b11 commit 287109a
Show file tree
Hide file tree
Showing 177 changed files with 54 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Bridge BBCC
===
version 0.5.4
version 0.5.5



Expand Down
Binary file modified images/cheer/4Head1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/4Head100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/4Head1000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/4Head10000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/4Head5000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Anon1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Anon100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Anon1000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Anon10000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Anon5000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Corgo1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Corgo100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Corgo1000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Corgo10000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/Corgo5000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/DansGame1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/DansGame100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/DansGame1000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/DansGame10000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/DansGame5000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/EleGiggle1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/EleGiggle100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/EleGiggle1000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/EleGiggle10000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/EleGiggle5000.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cheer/FailFish1.gif
Binary file modified images/cheer/FailFish100.gif
Binary file modified images/cheer/FailFish1000.gif
Binary file modified images/cheer/FailFish10000.gif
Binary file modified images/cheer/FailFish5000.gif
Binary file modified images/cheer/FrankerZ1.gif
Binary file modified images/cheer/FrankerZ100.gif
Binary file modified images/cheer/FrankerZ1000.gif
Binary file modified images/cheer/FrankerZ10000.gif
Binary file modified images/cheer/FrankerZ5000.gif
Binary file modified images/cheer/HeyGuys1.gif
Binary file modified images/cheer/HeyGuys100.gif
Binary file modified images/cheer/HeyGuys1000.gif
Binary file modified images/cheer/HeyGuys10000.gif
Binary file modified images/cheer/HeyGuys5000.gif
Binary file modified images/cheer/Kappa1.gif
Binary file modified images/cheer/Kappa100.gif
Binary file modified images/cheer/Kappa1000.gif
Binary file modified images/cheer/Kappa10000.gif
Binary file modified images/cheer/Kappa5000.gif
Binary file modified images/cheer/Kreygasm1.gif
Binary file modified images/cheer/Kreygasm100.gif
Binary file modified images/cheer/Kreygasm1000.gif
Binary file modified images/cheer/Kreygasm10000.gif
Binary file modified images/cheer/Kreygasm5000.gif
Binary file modified images/cheer/MrDestructoid1.gif
Binary file modified images/cheer/MrDestructoid100.gif
Binary file modified images/cheer/MrDestructoid1000.gif
Binary file modified images/cheer/MrDestructoid10000.gif
Binary file modified images/cheer/MrDestructoid5000.gif
Binary file modified images/cheer/NotLikeThis1.gif
Binary file modified images/cheer/NotLikeThis100.gif
Binary file modified images/cheer/NotLikeThis1000.gif
Binary file modified images/cheer/NotLikeThis10000.gif
Binary file modified images/cheer/NotLikeThis5000.gif
Binary file modified images/cheer/PJSalt1.gif
Binary file modified images/cheer/PJSalt100.gif
Binary file modified images/cheer/PJSalt1000.gif
Binary file modified images/cheer/PJSalt10000.gif
Binary file modified images/cheer/PJSalt5000.gif
Binary file modified images/cheer/Party1.gif
Binary file modified images/cheer/Party100.gif
Binary file modified images/cheer/Party1000.gif
Binary file modified images/cheer/Party10000.gif
Binary file modified images/cheer/Party5000.gif
Binary file modified images/cheer/Pride1.gif
Binary file modified images/cheer/Pride100.gif
Binary file modified images/cheer/Pride1000.gif
Binary file modified images/cheer/Pride10000.gif
Binary file modified images/cheer/Pride5000.gif
Binary file modified images/cheer/RIPCheer1.gif
Binary file modified images/cheer/RIPCheer100.gif
Binary file modified images/cheer/RIPCheer1000.gif
Binary file modified images/cheer/RIPCheer10000.gif
Binary file modified images/cheer/RIPCheer5000.gif
Binary file modified images/cheer/SeemsGood1.gif
Binary file modified images/cheer/SeemsGood100.gif
Binary file modified images/cheer/SeemsGood1000.gif
Binary file modified images/cheer/SeemsGood10000.gif
Binary file modified images/cheer/SeemsGood5000.gif
Binary file modified images/cheer/ShowLove1.gif
Binary file modified images/cheer/ShowLove100.gif
Binary file modified images/cheer/ShowLove1000.gif
Binary file modified images/cheer/ShowLove10000.gif
Binary file modified images/cheer/ShowLove5000.gif
Binary file modified images/cheer/SwiftRage1.gif
Binary file modified images/cheer/SwiftRage100.gif
Binary file modified images/cheer/SwiftRage1000.gif
Binary file modified images/cheer/SwiftRage10000.gif
Binary file modified images/cheer/SwiftRage5000.gif
Binary file modified images/cheer/TriHard1.gif
Binary file modified images/cheer/TriHard100.gif
Binary file modified images/cheer/TriHard1000.gif
Binary file modified images/cheer/TriHard10000.gif
Binary file modified images/cheer/TriHard5000.gif
Binary file modified images/cheer/VoHiYo1.gif
Binary file modified images/cheer/VoHiYo100.gif
Binary file modified images/cheer/VoHiYo1000.gif
Binary file modified images/cheer/VoHiYo10000.gif
Binary file modified images/cheer/VoHiYo5000.gif
Binary file modified images/cheer/bday1.gif
Binary file modified images/cheer/bday100.gif
Binary file modified images/cheer/bday1000.gif
Binary file modified images/cheer/bday10000.gif
Binary file modified images/cheer/bday5000.gif
Binary file added images/cheer/biblethump1.gif
Binary file added images/cheer/biblethump100.gif
Binary file added images/cheer/biblethump1000.gif
Binary file added images/cheer/biblethump10000.gif
Binary file added images/cheer/biblethump5000.gif
Binary file added images/cheer/bitboss1.gif
Binary file added images/cheer/bitboss100.gif
Binary file added images/cheer/bitboss1000.gif
Binary file added images/cheer/bitboss10000.gif
Binary file added images/cheer/bitboss5000.gif
Binary file modified images/cheer/cheer1.gif
Binary file modified images/cheer/cheer100.gif
Binary file modified images/cheer/cheer1000.gif
Binary file modified images/cheer/cheer10000.gif
Binary file modified images/cheer/cheer5000.gif
Binary file modified images/cheer/cheerwhal1.gif
Binary file modified images/cheer/cheerwhal100.gif
Binary file modified images/cheer/cheerwhal1000.gif
Binary file modified images/cheer/cheerwhal10000.gif
Binary file modified images/cheer/cheerwhal5000.gif
Binary file added images/cheer/doodlecheer1.gif
Binary file added images/cheer/doodlecheer100.gif
Binary file added images/cheer/doodlecheer1000.gif
Binary file added images/cheer/doodlecheer10000.gif
Binary file added images/cheer/doodlecheer5000.gif
Binary file added images/cheer/goal1.gif
Binary file added images/cheer/goal100.gif
Binary file added images/cheer/goal1000.gif
Binary file added images/cheer/goal10000.gif
Binary file added images/cheer/goal5000.gif
Binary file added images/cheer/holidaycheer1.gif
Binary file added images/cheer/holidaycheer100.gif
Binary file added images/cheer/holidaycheer1000.gif
Binary file added images/cheer/holidaycheer10000.gif
Binary file added images/cheer/holidaycheer5000.gif
Binary file added images/cheer/muxy1.gif
Binary file added images/cheer/muxy100.gif
Binary file added images/cheer/muxy1000.gif
Binary file added images/cheer/muxy10000.gif
Binary file added images/cheer/muxy5000.gif
Binary file removed images/cheer/pogchamp1.gif
Diff not rendered.
Binary file removed images/cheer/pogchamp100.gif
Diff not rendered.
Binary file removed images/cheer/pogchamp1000.gif
Diff not rendered.
Binary file removed images/cheer/pogchamp10000.gif
Diff not rendered.
Binary file removed images/cheer/pogchamp5000.gif
Diff not rendered.
Binary file added images/cheer/shamrock1.gif
Binary file added images/cheer/shamrock100.gif
Binary file added images/cheer/shamrock1000.gif
Binary file added images/cheer/shamrock10000.gif
Binary file added images/cheer/shamrock5000.gif
Binary file added images/cheer/streamlabs1.gif
Binary file added images/cheer/streamlabs100.gif
Binary file added images/cheer/streamlabs1000.gif
Binary file added images/cheer/streamlabs10000.gif
Binary file added images/cheer/streamlabs5000.gif
Binary file modified images/cheer/uni1.gif
Binary file modified images/cheer/uni100.gif
Binary file modified images/cheer/uni1000.gif
Binary file modified images/cheer/uni10000.gif
Binary file modified images/cheer/uni5000.gif
21 changes: 18 additions & 3 deletions lib/browserified.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
module.exports=[
"Cheer",
"PogChamp",
"DoodleCheer",
"BibleThump",
"cheerwhal",
"Corgo",
"uni",
Expand All @@ -25,6 +26,12 @@ module.exports=[
"MrDestructoid",
"bday",
"RIPCheer",
"Shamrock",
"BitBoss",
"Streamlabs",
"Muxy",
"HolidayCheer",
"Goal",
"Anon"
]

Expand All @@ -49,6 +56,7 @@ configDefault = {
useDisplayName : true, // 한글 닉네임으로 이름을 표시할지
loadCheerImgs : true, // 비트 후원채팅을 이미지로 표시할지
loadTwitchCons : true, // 트위치 이모티콘과 구독콘을 불러올지
loadTwitchv2 : true, // 움직이는 트위치 이모티콘을 불러올지
loadDcCons : true, // 디씨콘을 불러올지
dcConsURI : "", /* 불러올 디씨콘 Uri.
로컬 디씨콘을 이용할 경우 공백으로 둔다. */
Expand Down Expand Up @@ -549,7 +557,10 @@ var badgeList = {};
if (configData.badgeVisible) {
var globalBadgeRequest = new window.XMLHttpRequest();
globalBadgeRequest.open(
"GET", "https://badges.twitch.tv/v1/badges/global/display", true);
"GET",
"https://badges.twitch.tv/v1/badges/global/display",
true
);

var handler = function(response) {
var data = JSON.parse(response)["badge_sets"];
Expand Down Expand Up @@ -684,7 +695,11 @@ if (configData.loadTwitchCons) {
")(\\s|$)"
);
var emoteElement =
'<img class="twitch_emote" src="' + twitchConsUrlTemplate + emotes[emote] + '/default/light/3.0" />';
'<img class="twitch_emote" src="' +
twitchConsUrlTemplate +
emotes[emote] +
(configData.loadTwitchv2? "/default": "/static") +
'/dark/3.0" />';

while (message.match(emoteRegExp)) {
message = message.replace(emoteRegExp, "$1" + emoteElement + "$3");
Expand Down
1 change: 1 addition & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
useDisplayName : true,
loadCheerImgs : true,
loadTwitchCons : true,
loadTwitchv2 : true,
loadDcCons : true,
dcConsURI : "",
subMonthsMsg : "☆ {!0:{months} 개월 }구독{0: 시작}! ☆",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BridgeBBCC",
"version": "0.5.4",
"version": "0.5.5",
"description": "Bridge Between BroadCasting and twitch Chat",
"keywords": [
"twitch",
Expand Down
16 changes: 15 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,18 @@
********************** 패 치 노 트 **********************
* *
* ********************************************** *
* * 0.5.5 : From 2nd January 2021 ... * *
* * 0.5.5 : 24th June 2021 * *
* ********************************************** *
* 추가 및 개선된 기능 *
* - 움직이는 이모티콘의 표시 방식 설정을 추가 *
* loadTwitchv2 설정 *
* *
* - 표시되는 후원 아이콘 목록 변경 *
* DoodleCheer 등 글로벌 아이콘 8개 추가 *
* 응원보내기 UI에서 기본적으로 보이지 않는 아이콘을 포함 *
* pogchamp 제외 *
* 아이콘 이미지를 리사이즈하고 압축 *
* *
* 오류 수정 및 변경된 기능 *
* - 링크 텍스트를 조금 더 정밀하게 검색 *
* 트위치 기본 채팅창에 좀 더 가깝게 찾게 됨 *
Expand Down Expand Up @@ -84,6 +94,10 @@
* 이미지로 표시할지 여부 *
* -> true, false *
* *
* loadTwitchv2 (**) 움직이는 트위치 이모티콘을 *
* 움직이게 표시할지 여부 *
* -> true, false *
* *
* loadDcCons (**) 디시콘 사용 여부 *
* -> true, false *
* *
Expand Down
9 changes: 8 additions & 1 deletion source/cheer_list.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[
"Cheer",
"PogChamp",
"DoodleCheer",
"BibleThump",
"cheerwhal",
"Corgo",
"uni",
Expand All @@ -24,5 +25,11 @@
"MrDestructoid",
"bday",
"RIPCheer",
"Shamrock",
"BitBoss",
"Streamlabs",
"Muxy",
"HolidayCheer",
"Goal",
"Anon"
]
12 changes: 10 additions & 2 deletions source/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ configDefault = {
useDisplayName : true, // 한글 닉네임으로 이름을 표시할지
loadCheerImgs : true, // 비트 후원채팅을 이미지로 표시할지
loadTwitchCons : true, // 트위치 이모티콘과 구독콘을 불러올지
loadTwitchv2 : true, // 움직이는 트위치 이모티콘을 불러올지
loadDcCons : true, // 디씨콘을 불러올지
dcConsURI : "", /* 불러올 디씨콘 Uri.
로컬 디씨콘을 이용할 경우 공백으로 둔다. */
Expand Down Expand Up @@ -518,7 +519,10 @@ var badgeList = {};
if (configData.badgeVisible) {
var globalBadgeRequest = new window.XMLHttpRequest();
globalBadgeRequest.open(
"GET", "https://badges.twitch.tv/v1/badges/global/display", true);
"GET",
"https://badges.twitch.tv/v1/badges/global/display",
true
);

var handler = function(response) {
var data = JSON.parse(response)["badge_sets"];
Expand Down Expand Up @@ -653,7 +657,11 @@ if (configData.loadTwitchCons) {
")(\\s|$)"
);
var emoteElement =
'<img class="twitch_emote" src="' + twitchConsUrlTemplate + emotes[emote] + '/default/light/3.0" />';
'<img class="twitch_emote" src="' +
twitchConsUrlTemplate +
emotes[emote] +
(configData.loadTwitchv2? "/default": "/static") +
'/dark/3.0" />';

while (message.match(emoteRegExp)) {
message = message.replace(emoteRegExp, "$1" + emoteElement + "$3");
Expand Down

0 comments on commit 287109a

Please sign in to comment.