'twitch bot update itself
I want to program a simple bot.
In order not to have to access the server every time, I created a channel in discord where I can add/remove various parameters or channels. so far everything is fine, but now i still have to access the server to restart the bot. is there a possibility that it is automatically updated when a change has been made?
I don't have much experience with javascript or programming in general, but it's enough for a few things :)
I would be happy if someone could help me there
Best regards
setInterval(function() {
const client = new tmi.client({
identity: {
username: 'twitchbot',
password: process.env['token']
},
channels: [CHANNELS]
});
}, 60000)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
