Skip to content

Commit 3c55a7f

Browse files
authored
- Allow clips to work on Discord when off on Twitch
1 parent 24c0b2d commit 3c55a7f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/tv/phantombot/cache/TwitchCache.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,8 @@ public void run() {
168168
*/
169169
private void updateClips() {
170170
String doCheckClips = PhantomBot.instance().getDataStore().GetString("clipsSettings", "", "toggle");
171-
if (doCheckClips == null) {
172-
return;
173-
}
174-
if (doCheckClips.equals("false")) {
171+
String discordDoClipsCheck = PhantomBot.instance().getDataStore().GetString("discordSettings", "", "clipsToggle");
172+
if ((doCheckClips == null || doCheckClips.equals("false")) && (discordDoClipsCheck == null || discordDoClipsCheck.equals("false"))) {
175173
return;
176174
}
177175

0 commit comments

Comments
 (0)