se Bot::BasicBot::Pluggable::Module::Notes::Store::SQLite;
use File::Spec::Functions;
use JSON ();
my $store = Bot::BasicBot::Pluggable::Module::Notes::Store::SQLite
->new( "/home/ca
;
return [ 200, [ 'Content-type' => $type ], [ $file_content ] ];
}
sub notes_json {
my ($self, %params) = @_;
# my @checkedparams{ qw(date time channel name notes)
$rows,
};
return [ 200, [ 'Content-type' => 'application/json' ], [ JSON::encode_json($notes) ] ];
}
dispatch {
sub (/) {
return $self->static