Abstract sockets from being a part of the bot framework #8
Labels
No Label
bug
commentary
CRITICAL
feature
improvement
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: aewens/babili-bot#8
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The bot could more easily recover from errors if it wasn't responsible for handling the socket connection. This could allow for the bot to be started cold and given a clean socket to work with, or have it dump it's data and pass the socket connection over to a new instance of the bot if anything buggy occurs (e.g. being overloaded with tasks to run).
By extension, this could allow for the possibility of the bot to pull in updates for it's code and restart itself without ever dropping from the IRC (neat!).