yeah. store as a file or something. do the usual atomic file saving stuff. then load again on bot resume, as long as it hasn't been too long ago.