We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6a4e2b commit e2c8da1Copy full SHA for e2c8da1
1 file changed
plugins/Twitchcord/twitchcord.js
@@ -71,7 +71,7 @@ tmiClient.on("hosting", function (source, target, viewers) {
71
.catch(logger.error);
72
});
73
74
-tmiClient.on("unhost", function (channel, viewers) {
+tmiClient.on("unhost", function (source, viewers) {
75
var channel = client.channels.find('id', TWITCHORD_CONFIG.discordChannelId || "");
76
if (!channel) {
77
logger.error("[TWITCH -> DISCORD] Can't send info about hosting. Channel not found!");
0 commit comments