Closed ghost closed 11 years ago
Give up on http://stackoverflow.com/ already?
yes, it was too confusing to use
Well.. what kind of restart are you talking about? Just disconnecting and reconnecting him?
Yes, a command that will disconnect and reconnect him when I make changes to his code.
Well, simply doing that is not going to load changes to your script, you need to reload the node process altogether, in which case you would need supervisor or some other package installed which will dynamically load scripts for you, or you could just simply SSH into your account or wherever you are hosting him and reload him manually since you will already be making the changes.
ok, I also need the restart command just incase a huge avatar like the gorilla covers him up and I can't see him.
That doesn't always move the avatar and that ruins your uptime. I use forever to keep my scripts up. But I am hoping dubby will get us his new restart code soon.
Mike Wills http://mikewills.me
On Thu, Jun 6, 2013 at 11:04 AM, Turntablelover notifications@github.comwrote:
ok, I also need the restart command just incase a huge avatar like the gorilla covers him up and I can't see him.
— Reply to this email directly or view it on GitHubhttps://github.com/alaingilbert/Turntable-API/issues/217#issuecomment-19055732 .
yeah sighs
My vote is, forget the /restart command. If you are worried about not being able to see your bot... you should boot any user that obstructs your view... sighs
You can set up Forever to monitor for file changes and restart the node process if any are detected. Good luck with that... sighs extra long
um, I can't boot people, I am not a moderator in the room that the bot logs into.
... he was kidding. It's better to get the bot up to 10k so that it can be a gorilla. :-)
I really wasn't kidding... lol. If people getting in the way of your bot is a concern... just get a room with less people.
1k = RILLAS ;-)
and... that's a sucky place to be... bot creator with no mod privileges :( Go start your own room and take control of the situation.
Or do what I do... backdoor all of the commands so I can use mod functions through the bot. :-)
how do I do that?
function JavascriptJourney() {
var self = this;
if ( logical_concepts > self.knowledge + self.determination ) process.exit(1);
}
uh, what
Srsly?
Last Post 4 @Turntablelover
how does that help me backdoor all commands so i can use mod functions on my bot
How can I add a Restart Command to my bot so I can restart him through turntable.fm?