All files contain of one class in those classes are functions. Some functions work as a trigger to other functions.
For example when someone says !day it triggers a function which passes some value on to another. That 2nd funcion then outputs to the chatroom directly. No return is used.
Maybe if i create a small function in the end of each file something like:
function reboot($confirm) {
if($confirm) == $value) {
return;
}
}
and call those on restart? does that make sense?