Skip to content

Commit

Permalink
Merge pull request #17 from Donzii/Donzii-patch-1
Browse files Browse the repository at this point in the history
Add lost stuff
Danke für den Fix.
Das sind Fehler die nicht passieren sollten, aber wenn die Zeit nur knapp bemessen ist... :/
  • Loading branch information
X00LA authored Feb 8, 2018
2 parents d401173 + 967bfa4 commit 8bc8415
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/discord/handlers/streamHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,14 @@
.withColor(100, 65, 164)
.withThumbnail($.twitchcache.getLogoLink())
.withTitle(s)

.appendField($.lang.get('discord.streamhandler.common.game'), $.getGame($.channelName), false)
.appendField($.lang.get('discord.streamhandler.common.title'), $.getStatus($.channelName), false)
.withUrl('https://twitch.tv/' + $.channelName)
.withTimestamp(Date.now())
.withFooterText('Twitch')
.withFooterIcon($.twitchcache.getLogoLink())
.withImage($.twitchcache.getPreviewLink() + '#' + $.randRange(1, 99999)).build());

$.setIniDbNumber('discordSettings', 'lastOnlineEvent', $.systemTime());
}
}, 6e4);
Expand Down

0 comments on commit 8bc8415

Please sign in to comment.