Skip to content

Commit e2c8da1

Browse files
committed
Fixes #128 Changed param channel to source
1 parent a6a4e2b commit e2c8da1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/Twitchcord/twitchcord.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ tmiClient.on("hosting", function (source, target, viewers) {
7171
.catch(logger.error);
7272
});
7373

74-
tmiClient.on("unhost", function (channel, viewers) {
74+
tmiClient.on("unhost", function (source, viewers) {
7575
var channel = client.channels.find('id', TWITCHORD_CONFIG.discordChannelId || "");
7676
if (!channel) {
7777
logger.error("[TWITCH -> DISCORD] Can't send info about hosting. Channel not found!");

0 commit comments

Comments
 (0)