Fix token twitch non refresh pour notifications

This commit is contained in:
Angels-dev
2024-08-15 22:27:11 +02:00
parent 6bfc3839f6
commit e2e980bc47
3 changed files with 7 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ export default {
}
// Handle notification messages
else if (data.metadata.message_type === 'notification') Twitch.notification(client_id, channel_access_token, data, guild)
else if (data.metadata.message_type === 'notification') Twitch.notification(client_id, client_secret, channel_access_token, data, guild)
} catch (error) { console.error(chalk.magenta(`[Twitch] {${guild.name}} ` + error)) } } })
.on('error', error => console.error(chalk.magenta(`[Twitch] {${guild.name}} ` + error)))