App-TeleGramma

 view release on metacpan or  search on metacpan

lib/App/TeleGramma/Config.pm  view on Meta::CPAN

  }

  return 0;
}

sub create_default_config {
  my $self = shift;
  my $path = $self->path_config;

  Config::INI::Writer->write_file($self->default_config, $path);
  chmod 0600, $path;
}

sub config_created_message {
  my $self = shift;
  my $path = $self->path_config;

  return <<EOF
Your new config has been created in $path

Please edit it now and update the Telegram Bot token, then



( run in 0.410 second using v1.01-cache-2.11-cpan-496ff517765 )